Please… I need help!!! My script don’t works! My script in php only load for serveral time and afterwords appears that message:
An error occurred.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
Faithfully yours, nginx.
In /var/log/nginx/nginx_error.log show me that error:
[error] 2019#0: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: x.x.x.x, server: localhost, request: "GET /sistema-10-reais/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock", host: "x.x.x.x.x"
root@zash:/var/log/nginx#
when is x.x.x.x is IP.
I am using nginx on ubuntu 14.04.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
I’m also facing a similar issue in Nginx error log. But my application runs on Node js not PHP.
I need help
PHP-FPM is used by Nginx to execute PHP files. That error message is saying that the unix socket file used for communication between them doesn’t exist. The first step in debugging this would be to check on the FPM processes by running:
If the process has crashed for some reason, the error log may include messages that can point towards the cause of the problem. You can view them by running:
If needed, you can restart the process using: