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
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!
Accepted 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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.