- php重启
service lnmpp phpfpm reload
- nginx重启
service lnmpp nginx reload
- pathinfo设置
location ~ ^(.+.php)(.*)$ {
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
client_max_body_size 64m;
include fastcgi_params;
fastcgi_pass unix:/opt/atphp/var/sock/i.odata.cc.socket;
fastcgi_param SCRIPT_FILENAME /vhost/i.odata.cc$fastcgi_script_name;
``
网友评论