【php-cli与php-fpm的php.ini】教程文章相关的互联网学习教程文章

nginx php-fpm conf文件编写

coco.conf ##upstream upstream php_coco_backend{ server 127.0.0.1:8019; }server { listen 80; server_name 139.224.68.68;location / { root htdocs_coco; index shop_index.php; }error_page 404 /shop/404.html;# redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; loca...

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,就写...