We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How to downgrade php 7 to php5.* in ubuntu
How to downgrade php 7 to php5.* in ubuntu
How to downgrade php 7 to php5.* in ubuntu
Re: How to downgrade php 7 to php5.* in ubuntu
You're probably be interested in this: https://github.com/serghey-rodin/vesta/issues/1046
Both nginx->php-fpm and nginx->apache->phpfcgi instructions are there.
Both nginx->php-fpm and nginx->apache->phpfcgi instructions are there.
Re: How to downgrade php 7 to php5.* in ubuntu
I'm planning to move to PHP7 and this topic got me thinking. Could you spare some time to share with us why you need to go back to php5? Are you facing an issue with major apps like Wordpress or Joomla or is it just some custom code that needs previous php version?
Re: How to downgrade php 7 to php5.* in ubuntu
Downgrade is like upgrade, just remove php, add correct repos and install it again
The alternative is better, add aditional php versión php 5.5, php 5.6, php 7 and php 7.1 will be better, you can chose, test and deside what version are better for you, so you not uninstall nothing, you not breake nothing,
The alternative is better, add aditional php versión php 5.5, php 5.6, php 7 and php 7.1 will be better, you can chose, test and deside what version are better for you, so you not uninstall nothing, you not breake nothing,
Re: How to downgrade php 7 to php5.* in ubuntu
I actually choose Debian instead of Ubuntu, because latest Debian's still using PHP5.6 at this moment.
Re: How to downgrade php 7 to php5.* in ubuntu
https://vvcares2.blogspot.sg/2017/09/do ... php56.html
SWITCHING BETWEEN PHP VERSIONS
Example : Ubuntu 16.04 > how to switch PHP7.0 to php5.6
This method is not to remove any php versions but installing as add-on but use any one version at any time.
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php5.6
php -v
--This may show your old version.
--So now to switching the versions 7.0 > 5.6
sudo a2dismod php7.0
sudo a2enmod php5.6
sudo service apache2 restart
sudo update-alternatives --set php /usr/bin/php5.6
--Basically need to install few modules first
sudo apt-get install php5.6-mysql php-gettext php5.6-mbstring php-xdebug libapache2-mod-php5.6
--enabling your required extensions example >>> sudo phpenmod mbstring
sudo apt-get update
sudo update-alternatives --set php /usr/bin/php5.6
sudo service apache2 restart
SWITCHING BETWEEN PHP VERSIONS
Example : Ubuntu 16.04 > how to switch PHP7.0 to php5.6
This method is not to remove any php versions but installing as add-on but use any one version at any time.
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php5.6
php -v
--This may show your old version.
--So now to switching the versions 7.0 > 5.6
sudo a2dismod php7.0
sudo a2enmod php5.6
sudo service apache2 restart
sudo update-alternatives --set php /usr/bin/php5.6
--Basically need to install few modules first
sudo apt-get install php5.6-mysql php-gettext php5.6-mbstring php-xdebug libapache2-mod-php5.6
--enabling your required extensions example >>> sudo phpenmod mbstring
sudo apt-get update
sudo update-alternatives --set php /usr/bin/php5.6
sudo service apache2 restart