我无法在centos服务器中将php 5.4升级到7 [英] I can't upgrade php 5.4 to 7 in centos server
本文介绍了我无法在centos服务器中将php 5.4升级到7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我按照 https://wiki.centos.org/HowTos/php7 中给出的教程进行操作一个>。我完成了所有指示。但是,最后 phpinfo()
显示的是PHP 5.4而非7。
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.
推荐答案
尝试重新启动apache,因为本教程中未提及
Try restarting your apache , as this is not mentioned in tutorial
systemctl restart httpd.service
这篇关于我无法在centos服务器中将php 5.4升级到7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文