php-fpm 和 nginx nginx配置
php-fpm 和 nginx
配置好,总是报错 把 lib/php.ini 的ui.so 的扩展 去掉 ,就正常了,(有这样的经历(我安装了ui扩展),哈哈)
location ~ .php$ {
root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}