升级到5.3.6,防跨站生效,但是出问题了
出的第一个问题就是/root/lnmp restart这个没用了,一直停在https://bbs.vpser.net/attachment.php?aid=1238&noupdate=yes
然后单独执行/etc/init.d/nginxrestart
提示:Restarting nginx daemon: nginx.
这个我不知道是否正常,我的nginx是 2.1.4的
以上这第一个问题咋修复
第二个问题是:
防跨站做了之后,xcache管理界面进不了,这是第一个,第二就是phpmyadmin无法打开,第三个就是PureFTPd的web界面打不开
这个要怎么处理呢,加:/proc探针显示正常
恳请军哥给答复下
[ 本帖最后由 edims 于 2012-11-2 18:39 编辑 ] 哥们儿 看这里 https://bbs.vpser.net/thread-8784-1-1.html一样的问题 大家都遇到了 https://bbs.vpser.net/thread-8784-1-1.html一样的问题 大家都遇到了 经过修复,现在可以执行下去了,但是报错,错误如下
Stoping LNMP...
Nginx program is stop
Usage: php-fpm [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix>] [-g <pid>] [-c < file>] [-d foo[=bar]] [-y <file>] [-D] [-F]
-c <path>|<file> Look for php.ini file in this directory
-n No php.ini file will be used
-d foo[=bar] Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler
-h This help
-i PHP information
-m Show compiled in modules
-v Version number
-p, --prefix <dir>
Specify alternative prefix path to FastCGI process manager
(d efault: /usr/local/php).
-g, --pid <file>
Specify the PID file location.
-y, --fpm-config <file>
Specify alternative path to FastCGI process manager config fi le.
-t, --test Test FPM configuration and exit
-D, --daemonizeforce to run in background, and ignore daemonize option from config file
-F, --nodaemonize
force to stay in foreground, and ignore daemonize option from config file
-R, --allow-to-run-as-root
Allow pool to run as root (disabled by default) php 5.3.3 下的php-fpm 不再支持 php-fpm 以前具有的 /usr/local/php/sbin/php-fpm (start|stop|reload)等命令,需要使用信号控制:
master进程可以理解以下信号
INT, TERM 立刻终止
QUIT 平滑终止
USR1 重新打开日志文件
USR2 平滑重载所有worker进程并重新载入配置和二进制模块
示例:
php-fpm 关闭:
kill -INT `cat /usr/local/php/var/run/php-fpm.pid`
php-fpm 重启:
kill -USR2 `cat /usr/local/php/var/run/php-fpm.pid`
查看php-fpm进程数:
ps aux | grep -c php-fpm 不知会不会影响网站正常使用,
恳请军哥有空麻烦看看怎么解决,谢谢了
恳请军哥有空麻烦看看怎么解决,谢谢了 第一个问题我得再测试看看第二个问题如果需要读取设置的限制目录之外的目录都不能用,PureFTPd的web界面会读取/etc/下面的配置文件,xcache暂时不清楚,phpmyadmin应该是没影响
页:
[1]