摘要:PHP配置文件中session.save_path负责session文件的存放位置。如果没有配置则不会生成session文件,如果配置的目录session.save_path = "E:/ttt"不存在,则会报错:Warning: session_start() [function.session-start]: open(E:/ttt\sess_e0b64760c92422d81c1d6202b66884f6, O_RDWR) failed: No such file or directory (2) in E:\APMServ5.2.6\www\htdocs\session\in
2018年07月13日
open_basedir restriction in effect的错误及其解决办法
摘要:问题2:Warning: Unknown: open_basedir restriction in effect. File(D:/99Game/WEB/htdocs/index.php) is not within the allowed path(s): (D:Game\WEB\htdocs\;C:\WINDOWS\Temp;) in Unknown on line 0Fatal error: Can't load D:/99Game/WEB/htdocs/index.php, open_basedir restriction. in Unknown on line 0 问题3:Warning: imagegif() [function.imagegif]: ope
分类:LANMPT
2018年07月12日
Apache 2.4.18+php 7.0.1编译安装详解
摘要:安装环境:[root@secfpm]# cat /etc/redhat-release CentOSrelease 6.9 (Final)[root@secfpm]# uname -aLinuxsec.hxmis.com 2.6.32-696.el6.x86_64 #1 SMP Tue Mar 21 19:29:05 UTC 2017 x86_64x86_64 x86_64 GNU/Linux0x01到官网http://archive.apache.org/dist/httpd/下载apache http2.4.48tar zxfhttpd-2.4.18.tar.gz[root@localhosthttpd-2.4.18]# rpm -qa | grep apr &nbs
分类:LANMPT
2018年06月11日
使用Nginx、Nginx Plus抵御DDOS攻击

分类:LANMPT
2018年05月22日
从运行原理及使用场景看Apache和Nginx

分类:LANMPT
2018年05月11日
给小白的 Nginx 30分钟入门指南

分类:LANMPT
2018年05月03日
PHP-FPM php-fpm.conf 参数优化
摘要:[global]pid = /www/wdlinux/phps/56/var/run/php-fpm.piderror_log = /www/wdlinux/phps/56/var/log/php-fpm.loglog_level = notice[www]listen = /tmp/php-56-cgi.socklisten.backlog = -1listen.allowed_clients = 127.0.0.1listen.owner = www listen.group = www listen.mode = 0666user = www group = www pm = dynamic #表示我们创建的ph
分类:LANMPT
2018年04月27日
LNMP基于PHP-FPM(nginx/1.8.1 PHP 5.6.35 PHP 5.3.27 php多版本)-2
摘要: Nginx Rewrite(需PCRE支持) 1、指令语法(perl正则)指令语法rewrite regex replacement [flag]默认值 none应用位置 server,location,if 实践:1、增加rewrite规则root@node83 extra]# cat /usr/local/nginx/conf/extra/www.conf#www.confserver { &nbs
分类:LANMPT
2018年04月27日
LNMP基于PHP-FPM(nginx/1.8.1 PHP 5.6.35 PHP 5.3.27 php多版本)-1

分类:LANMPT
2018年04月25日
Nginx + PHP(php-fpm)遇到的502 Bad Gateway错误[后台PHP运行太长时间,PHP超时错误]
摘要:我一个统计程序估计要跑10分多钟以上查看了一个php-fpm 配置文件 WARNING: [pool www]child 7458, script '/home/wwwroot/admin/index.php' (request: "GET/index.php") execution timed out (101.515909 sec),terminating WARNING: [pool www]child 7458 exited on signal 15 (SIGTERM) after 1130895.840878 seconds fromstartNOTICE: [pool www]child 2