Tag Archives: php-fpm

Remember to specify nginx’s temp directory path

I catched this error in my log: 2010/11/20 12:38:22 [crit] 792#0: *58342 open() “/usr/local/fastcgi_temp/2/23/0000002309″ failed (13: Permission denied) while reading upstream, client: XXX.XXX.XXX.XXX, server: xxx.host.com, request: “GET /page.php”, upstream: “http://0.0.0.0/dir/page.php”, host: “lamnk.com”, referrer: “http://referrer.com/” fastcgi_temp should in no way belong to /usr/local. It’s clear that if you forget to set configuration flags, nginx will set [...]

Php-fpm error after reinstall PHP

Error: lamnk@lamnk:~% sudo php-fpm start Starting php_fpm Error in argument 1, char 1: no argument for option – Usage: php-cgi [-q] [-h] [-s] [-v] [-i] [-f ] php-cgi [args...] -a Run interactively -C Do not chdir to the script’s directory -c | Look for php.ini file in this directory -n No php.ini file will be [...]