I just upgraded php 5.5.9 to php7

December 4, 2016 173 views
PHP Ubuntu

I just upgraded php 5.5.9 to php7 with the instruction from Brennen Bearnes

Link: https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-ubuntu-14-04,

After installation I check with php -v and shows that php 7 is installed but wordpress is still using ver 5.5.9. can someone please direct me to which configuration file needs.

My guess php5.5.9 need to be purged but need guidance

looks like php7 was installed in etc/php/7.0 instead of etc/php7.0

Thanks Ralph

1 Answer

Ýou will have to purge your current PHP5 if you don't want to use it anymore. You can do this with the following command:

sudo apt-get purge php5-fpm php5-mysql php5-common

sudo apt-get --purge autoremove

Hope this will help you enough.

Have another answer? Share your knowledge.