[TOC] ## 启动 php-fpm 类 uninx 需要管理员权限 ### nginx.conf 配置 ``` location ~ \.php$ { root /Users/idcpj/Web/demo1; fastcgi_pass 127.0.0.1:9999; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } ```