since the company installed the php5.6
version before, I want to upgrade to php7
. After compiling and installing php7
, it is shown in the following figure:
phpinfo
5.6
php7
since the company installed the php5.6
version before, I want to upgrade to php7
. After compiling and installing php7
, it is shown in the following figure:
phpinfo
5.6
php7
modify the configuration of ngnix. Change your newly compiled PHP 7
nginx configuration file to your php7
is the php-fpm of the original php5.6 turned off?
turn off the original php-fpm and try to turn on the php-fpm of php7.
you now have both PHP installed. To use php7, modify the configuration of nginx and turn off the original php5.6. Remember to restart nginx after modifying nginx configuration
the PHP7,phpinfo installed by source code compilation shows that the path to php.ini is in Configuration File (php.ini) Path usr local php etc so I cp php.ini-production usr local php etc php.ini from the source code, but no matter how I modify...