Nginx
zhym86848658
这个作者很懒,什么都没留下…
展开
-
Nginx命令
重启nginx whereis nginx /usr/local/nginx/sbin/nginx -s reload原创 2018-10-30 12:35:27 · 100 阅读 · 0 评论 -
Warning: require(): open_basedir restriction in effect. File [For yii2]
YII2框架 vim /usr/local/nginx/conf/fastcgi.conf fastcgi_param PHP_ADMIN_VALUE"open_basedir=$document_root/:/tmp/:/proc/"; 修改如下: fastcgi_param PHP_ADMIN_VALUE "open_basedir=NULL"; 重启nginx ...原创 2018-10-30 22:29:31 · 1617 阅读 · 0 评论 -
CenterOS LNMP一键安装包 V1.5 部署
安装前建议使用screen, yum install screen 执行:screen -S lnmp 后,执行:wget http://soft.vpser.net/lnmp/lnmp1.5.tar.gz -cO lnmp1.5.tar.gz && tar zxf lnmp1.5.tar.gz && cd lnmp1.5 && ./insta...原创 2018-11-19 10:39:30 · 260 阅读 · 0 评论 -
Yii2结合Workerman的websocket示例详解
1、安装workerman composer require workerman/workerman 2、启动workerman ./yii workerman-web-socket -s restart -d ./yii workerman-web-socket -s reload ./yii workerman-web-socket -s status -g ./yii worke...原创 2019-07-30 22:09:37 · 1238 阅读 · 0 评论