I am running Virtuamin on centos 7, I am unable to install ziparchive on php 7.4, but when I switch to php 7.2, it works. I need php 7.4 to work because it is faster and wordpress script need 7.3+ to work effectively.
I am running Virtuamin on centos 7, I am unable to install ziparchive on php 7.4, but when I switch to php 7.2, it works. I need php 7.4 to work because it is faster and wordpress script need 7.3+ to work effectively.
4
Answers
This is how I installed it on my ubuntu:-
For PHP
For Centos
NOTE: Make sure to restart your server after install the above
sudo /etc/init.d/apache2 restart or sudo service nginx restart
This works in ubuntu 18.04
I am on Debian 9, which does not ship with PHP7.4, but it can be installed if you add the repository from Sury.
After that, I ran this with success:
Maybe you would like to take a look on this post:
https://www.cloudbooklet.com/upgrade-php-version-to-php-7-4-on-ubuntu/
Basically, it tells you to:
Add PPA for PHP 7.4
Add the ondrej/php which has PHP 7.4 package and other required PHP extensions.
Then you can install the extension
Or install all the commonly used ones: