I'm having so much trouble configuring PHP with Nginx. Every tutorial differs on everything, except for not working properly. Now, without any modifications to PHP-FPM configuration since the last time it worked, it refuses to start, fails and exits. Here is my www.conf:
[nginx] listen = 127.0.0.1:9000 listen.allowed_clients = 127.0.0.1 listen.owner = nginx listen.group = nginx listen.mode = 0666 user = nginx group = nginx pm = dynamic pm.max_children = 10 pm.start_servers = 5 pm.min_spare_servers = 5 pm.max_spare_servers = 35 slowlog = /var/log/php-fpm/www-slow.log php_admin_value[error_log] = /var/log/php-fpm/www-error.log php_admin_flag[log_errors] = on php_value[session.save_handler] = files php_value[session.save_path] = /var/lib/php/session
As some site suggested. It exits with error core 78 but I found no info on Google. I don't know how to nothing with Nginx.