Is there an easy way to downgrade or switch php versions?
Litwilly opened this issue · comments
Installed LAMP with php 8, having some issues so until I can resolve would like to downgrade to php 7.
Rename PHP Install location /usr/local/php
and reinstall it with same option.
mv /usr/local/php /usr/local/php8
and
./lamp.sh
Select PHP 7.
If /usr/local/apache
and /usr/local/mysql
already exists, it will be skip the installation when reinstall LAMP.
The new system is not compatible with the old software.
@ducna96
No, you still need to chosen install Apache and MySQL. and other options need to chosen too.
If path /usr/local/apache
and /usr/local/mysql
already exists, there will be skip the installation when reinstall LAMP.
getting the same issue with 7.4
I also spun up a new azure ubuntu 20 vm, and unable to successfully run the script with php5.6 or 7.0