Open mxrd opened 8 years ago
I had similar issue with pid missing in this same location. After some investigation, a reinstall of php7 was required and slight modifications to my nginx configuration file.
Does it still happen with the latest 1.10.1 version?
can you explain what changes you made for this @clessley it would be very helpful for us.
@116davinder Completely remove & purge your older php5 installs and also whatever php7 installation you currently have. Autoremove and reboot. Then install php7 (completely; all required packages). This was the only way I was able to get past the PID error. The remaining errors which I allude to can then be worked through by just checking your /var/log/nginx/error log file for your specific use case. I've not seen that error since. BTW, I'm running Ubuntu not Debian.
Yes the same in the version 1.10.1. Debian Jessie
i have same problem in centos 7, i had try this https://www.svennd.be/pid-file-runnginx-pid-not-readable-yet-after-start/ but not resolve the problem, but i think that not problem, my nginx server running normaly
New installation of Nginx/PHP7 on Debian 8 Jessie (Google cloud). After running "systemctl status nginx" keep on getting error: systemd[1]: Failed to read PID from file /run/nginx.pid: Invalid argument. Any idea why? Thanks