Blogroll

Thursday, March 14, 2013

Fix 502 bad gate error nginx + php5 cgi

If anyone finds this page by encountering the same problem I had, I found the answer here: http://www.howtoforge.com/installing-nginx-with-php5-and-php-fpm-and-mysql-support-lemp-on-ubuntu-12.04-lts For those of you who can't be bothered to click and work it out for themselves... ;) The Condition: Ubuntu or Debian server with NGINX and PHP 5.3 works fine but upgrading PHP to 5.4 gives 502 Bad Gateway errors. Looking for services running on port 9000 returns nothing. The fix: open /etc/php5/fpm/pool.d/www.conf and make a note of the 'listen' parameter (in my case /var/run/php5-fpm.sock) ; The address on which to accept FastCGI requests. ;...
Page 1 Of 71234567Next