Nginx网站架构实战——01、Nginx介绍及编译安装:传送门
Nginx网站架构实战——02、Nginx信号量:传送门
Nginx网站架构实战——03、nginx虚拟主机配置:传送门
Nginx网站架构实战——04、nginx日志管理:传送门
Nginx网站架构实战——05、nginx定时任务完成日志切割:传送门
Nginx网站架构实战——06、Location详解之精准匹配:传送门
Nginx网站架构实战——07、Location之正则匹配:传送门
Nginx网站架构实战——08、nginx Rewrite语法详解:传送门
Nginx网站架构实战——09、编译PHP并与nginx整合:传送门
[root@tiejiang src]# cd /usr/local/nginx/html/ [root@tiejiang html]# mkdir ecshop #把ecshop的源代码程序都放在这个文件夹里面 [root@tiejiang nginx]# cd /usr/local/nginx/html/ecshop/ 给下面这四个文件夹执行的权限,否则ecshop无法安装 [root@tiejiang ecshop]# chmod o+w cert -R [root@tiejiang ecshop]# chmod o+w images -R [root@tiejiang ecshop]# chmod o+w data -R [root@tiejiang ecshop]# chmod o+w temp -R [root@tiejiang ecshop]# chmod o+w themes -R
[root@tiejiang ecshop]# vim /usr/local/fastphp/lib/php.ini ;date.timezone = 改为 date.timezone = "Asia/Shanghai" [root@tiejiang ecshop]# pkill -9 php-fpm #杀掉当先系统的php进程 [root@tiejiang ecshop]# /usr/local/fastphp/sbin/php-fpm #重启一下php的进程