Last active
August 29, 2015 14:02
-
-
Save wilsolutions/7f2018f59d4c9c6a6901 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error: | |
2011/03/15 17:07:12 [crit] 7836#0: *7 connect() to unix:/tmp/phpfpm.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: wils.drupal7.com.br, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/phpfpm.sock:", host: "wils.drupal7.com.br" | |
--- | |
Cause: PHP-FPM misconfiguration. | |
--- | |
Solution: | |
1 - Check the php-fpm configuration: vi /etc/php-fpm.d/www.conf | |
2 - Comment the line ";listen = 127.0.0.1:9000" | |
3 - Add the line: listen = /tmp/phpfpm.sock | |
4 - Restart: /etc/init.d/php-fpm restart | |
5 - Enjoy! =D | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment