kasparsd / php-7-debian

Install PHP 7 on Debian/Ubuntu
349 stars 103 forks source link

Instructions for updating existing install #52

Open garygreen opened 7 years ago

garygreen commented 7 years ago

I'm not sure how to go above upgrading to the latest PHP version (even a minor version e.g. from 7.1.6 to 7.1.8)

Would it be required to remove existing PHP then build using the remove.sh and then install new version? That would require some downtime whilst it compiles?

kasparsd commented 7 years ago

That is a very good suggestion @garygreen!

I personally just fetch the latest changes for this repo git pull and run ./build.sh. Finally, you have to restart the PHP FPM daemon sudo service php7-fpm restart.