Tag Archives: centos

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 [...]

Compile rtorrent on CentOS 64bit

Update 10.03.2011, 2 years later on a new Macbook: brew install rtorrent on Mac OS X (Snow Leopard 10.6.6) also falls for this error. The habit of writing work logs saves me a lot of time again I always fall for this error when compile rtorrent, so … : Error: checking for STUFF… configure: error: [...]

Error compiling PHP on CentOS 64 bit

In order to compile PHP on 64 bit you need to use the option –with-libdir=lib64 otherwise you will stay forever with the following error checking for MySQL support… yes checking for specified location of the MySQL UNIX socket… no checking for MySQL UNIX socket location… no checking for mysql_close in -lmysqlclient… no checking for mysql_error [...]