能运行快乐秒赞源码伪静态规则是
location / {
index index.html index.htm index.php;
if (!-e $request_filename) {
rewrite ^/index.php(.*)$ /index.php?s=$1 last;
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
安装命令是
wget
http://m.odata.cc/amh4.2/amh.sh && chmod 775 amh.sh && ./amh.sh 2>&1 | tee amh.log
安装好后执行
cd /usr/local/php/etc
rm -rf php-fpm-template.conf
rm -rf php-fpm.conf
wget
http://m.odata.cc/amh4.2/php-fpm-template.confwget
http://m.odata.cc/amh4.2/php-fpm.conf执行reboot
重启服务器后
就可以登录控制面板了
其实也没修改什么。
只是把php版本和nginx换了。
你们就能自己修改了。