Home >Backend Development >PHP Tutorial >php升级 - 正在运行中的服务器,如何平滑从php5.2升级到php5.3 ,linux+php-fpm+nginx

php升级 - 正在运行中的服务器,如何平滑从php5.2升级到php5.3 ,linux+php-fpm+nginx

WBOY
WBOYOriginal
2016-06-06 20:43:271169browse

架构是linux+php-fpm+nginx,不想停止服务,最好能 /etc/init.d/php-fpm reload 一下就生升级完成。

回复内容:

架构是linux+php-fpm+nginx,不想停止服务,最好能 /etc/init.d/php-fpm reload 一下就生升级完成。

编译一个php5.3,然后新建一个nginx站点fastcgi_pass到php5.3上用来测试,没有问题后修改已有站点的nginx conf文件然后重载nginx配置文件即可。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn