Your PHP version does not support ZipArchive.
Submitted by natashathomas on Wed, 01/06/2016 - 13:35
I cant upload content types, I get this message in WOrdpress
Your PHP version does not support ZipArchive.
I cant upload content types, I get this message in WOrdpress
Your PHP version does not support ZipArchive.
Navigation
Connect with H5P
About
H5P is a registered trademark of H5P Group
Privacy policy |
Copyright ©
2024
falcon
Wed, 01/06/2016 - 14:41
Permalink
If you have full control over
If you have full control over your web server you can either turn on the ZipArchive support in various ways. For instance like this for some environments. If you can't turn it on you need to get another php version or compile a PHP version with ZipArchive. Compiling is a solution for more advanced users. In my experience most PHP versions has ZipArchive support.
If you do not control your webserver and don't have access to a control panel where you can turn things on and off you must contact your hosting provider or find another hosting provider :/
kabbott
Thu, 06/09/2016 - 18:00
Permalink
Another ZipArchive Question
I don't have full control over our PHP at our University and our supported PHP doesn't support ZipArchive. Since I know the h5p library file is a zip file, could I unzip the library file and manually move it over to the h5p-php-library? Or is there something else I would have to do? I have to unzip and manually move WordPress plugins and themes since we can't FTP into our WordPress instance due to security concerns.
falcon
Mon, 06/13/2016 - 11:50
Permalink
It might be quite hard to get
It might be quite hard to get it set up manually. Perhaps you could set it up on a local copy of your site with ZipArchive and then copy the files and database to the site where ZipArchive isn't allowed?
camerone
Thu, 10/27/2016 - 00:26
Permalink
zipArchive error on libraries import:This did the trick for me.
I tried everything mentioned above but then I realized that php7 was installed when the vm was provisioned. So installed the php7 version of zip.
sudo apt-get install php7.0-zip