fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; include fastcgi_params; } # cp -f /usr/local/etc/php-fpm.conf.default /usr/local/ etc/php-fpm.conf # cp -f sapi/fpm/init.d.php-fpm /etc/init.d/php-fpm # chmod 755 /etc/init.d/php-fpm # mkdir /var/log/php-fpm # chown -R nginx:nginx /var/log/php-fpm