Home > Backend Development > PHP Tutorial > nginx下php的重启有关问题

nginx下php的重启有关问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:09:58
Original
930 people have browsed it

nginx下php的重启问题
提示:
如果您的服务器是apache的话,重启apache就可以了
如果服务器是nginx的,php是以php-fpm的方式安装的
第一种方法:/etc/init.d/php-fpm restart
第二种方法:php5.4升级后,重启php-fpm出错:

ERROR: unable to bind listening socket for address ’127.0.0.1:9000′

解决办法:

killall php-fpm
启动php
/usr/local/php/sbin/php-fpm

Related labels:
Statement of this Website
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template