
1.php需要开启fsocketopen,exec,openlog,syslog这几个函数
找到服务器上的php.ini文件,查找disable_function将上面的这几个函数从disable_function中去除。
保存php.ini,重新启动lnmp服务或者php-fpm。
2.clean urls不能使用的问题
如果程序安装在根目录,那么在nginx规则中添加如下代码:
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?q=$1 last;
break;
...