Search…
ENGLISH
I want to downgrade PHP version
You can downgrade the PHP version using the command in the terminal.
1
sudo apt-get remove -y --purge php7.0 *
2
sudo add-apt-repository --remove ppa: ondrej / php
3
sudo apt-get update
4
sudo apt-get install php5-fpm php5-mysql
Copied!
If you execute the above command in order, you can use php5.
Libraries like GD and MariaDB can also be used after entering the commands in the terminal.
Last modified 2yr ago
Copy link