问题
I follow the tutorial given in https://wiki.centos.org/HowTos/php7. I complete all instructions. But, finally phpinfo() shows php version 5.4 instead of 7.
回答1:
Try restarting your apache , as this is not mentioned in tutorial
systemctl restart httpd.service
来源:https://stackoverflow.com/questions/49921037/i-cant-upgrade-php-5-4-to-7-in-centos-server