By lofiwebgeek
As the title states, I am receiving the following error after installing PHP 7.3 on my Centos 7 Distro: The page you are looking for is temporarily unavailable. Please try again later.
Prior to this occurring, I have set up my initial LEMP using How To Install Linux, Nginx, MySQL, PHP (LEMP) stack On CentOS 7. The end result was 5.4 showing when I did the info page from my IP. I did not see anything current regarding PHP 7.X, so I installed it using How to Install PHP 7.3 in CentOS 7. After confirming that 7.3 was installed using php -v, I refreshed the info page and it states the error. Screenshot - https://internal.scrnshot.app/9UmZyjQTSlj.png
So, I have researched many sources online such as StackOverflow, and I continue to get the same solution that does not work. This is what I have for listen in /etc/php-fpm.d/www.conf -
listen = /var/run/php-fpm/php-fpm.sock
listen.owner = nobody
listen.group = nobody
user = nginx
group = nginx
This is the error from the log after tailing it live from my IP -
2019/09/02 22:20:50 [crit] 2059#0: *20 connect() to unix:/var/run/php-fpm/php-fpm.sock failed (13: Permission denied) while connecting to upstream, client: my.ip.add.ress, server: server.ip.address, request: "GET /info.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "67.205.142.48"
I have not found one solution to allow me to use 7.3 from Google or Digital Ocean forums.
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!
Hello,
As far as I can see from the error, Nginx does not have permissions to connect to the socket file. I would recommend updating your PHP-FPM conf file to:
listen.owner = nginx
listen.group = nginx
And then restart PHP-FPM.
After that make sure that PHP-FPM is up and running and check the permissions of the socket file.
Let me know how it goes. Regards, Bobby
That could happen if the page is taking to long to load. Are you loading any external javascript files in your header? Maybe when some is trying to access that page at that time server is not responding properly. You might also find some hints in your webserver’s log files: /var/log/nginx/error.log
Hey plz can you tell me what happened 😭 i am relly scared its telling to sing up but i can’t it’s says shome things had triggered an error on your website and i cant use my wifi plzz help i am relly scared 😭😭😭😭
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.