赞
踩
配置
[root@m ~]# groupadd -g777 wy
[root@m ~]# useradd -u777 -g777 wy
[root@m ~]# sed -i '/^user/c user wy;' /etc/nginx/nginx.conf #修改nginx身份
[root@m ~]# sed -i '/^user/c user = wy' /etc/php-fpm.d/www.conf
[root@m ~]# sed -i '/^group/c group = wy' /etc/php-fpm.d/www.conf
[root@m ~]# systemctl restart nginx php-fpm
[root@m ~]# vim /etc/nginx/conf.d/www.cloud.com.conf server { listen 80; server_name www.cloud.com; root /code/cloud; location / { index index.php; } location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } }
上传代码
rz kodexplorer4.40.zip
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。