Skip to content

Instantly share code, notes, and snippets.

@kevin39
Created November 9, 2016 08:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevin39/17f95e27d01266ee9a34d1dce58fcc65 to your computer and use it in GitHub Desktop.
Save kevin39/17f95e27d01266ee9a34d1dce58fcc65 to your computer and use it in GitHub Desktop.
php-fpm not starting
Source: http://serverfault.com/a/539036/217375
Did you check your error_log file for php-fpm? Location of that file should be declared in your php-fpm.conf (in Ubuntu config is /etc/php5/fpm/php-fpm.conf, log file is /var/log/php5-fpm/log), also check your log_level, if is disabled (;log_level), please enable it and change it to the debug. After that try restart php5-fpm service and check your logs.
You can also try to run php5-fpm in foreground mode:
# php5-fpm -y /etc/php5/fpm/php-fpm.conf
Maybe this show you something interesting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment