【不能在Ubuntu 13.10(Nginx,PHP-FPM)中使用PHP扩展Mcrypt】教程文章相关的互联网学习教程文章

PHP-FPM监控shell

!/bin/bash #监控的网页地址url="http://dev2.jwsmed.com" #fastcgi启动/重启/停止脚本路径PROG=/data/fistsoft/php/sbin/php-fpm #fastcgi重启记录日志文件LOG=/data/services/logs/php_5525/restart.log #返回结果正常记录日志LOG2=/data/services/logs/php_5525/check.log #时间time=`date` #取得http状态码status=$(curl -H "dev2.jwsmed.com" -m 5 -L -s -w %{http_code} http://127.0.0.1 -o /dev/null) #如果不是200,就写入...

监控(2)-php-fpm进程监控 shell

#!/bin/bash #监控的网页地址url="http://dev2.jwsmed.com" #fastcgi启动/重启/停止脚本路径PROG=/data/fistsoft/php/sbin/php-fpm #fastcgi重启记录日志文件LOG=/data/services/logs/php_5525/restart.log #返回结果正常记录日志LOG2=/data/services/logs/php_5525/check.log #时间time=`date` #取得http状态码status=$(curl -H "dev2.jwsmed.com" -m 5 -L -s -w %{http_code} http://127.0.0.1 -o /dev/null) #如果不是200,就写...