I just upgraded php 5.5.9 to php7

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


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

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Ý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.