Helpful tip when upgrading php versions

Todays helpful tip:

Your ini file changes wont be upgraded with you, it's worth checking the ini file changes from the old version to the new one.

You can use diff or vimdiff but my personal favourite is meld which will open a visual gui diff between the files letting you go through and quickly copy in changes from the old file to the new one.

sudo meld /etc/php/7.2/cli/php.ini /etc/php/7.3/cli/php.ini  

Also remember to go through the different php ini files you have, e.g. for cli vs fpm vs apache if you use them.

comments powered by Disqus
Want to setup your own server? Digital Ocean offer $100 free for new accounts.
DigitalOcean Referral Badge