Welcome! Log In Create A New Profile

Advanced

Not able to execute php files after fresh nginx (LEMP) installation

Posted by ksbnok 
Not able to execute php files after fresh nginx (LEMP) installation
December 11, 2011 08:23AM
I have successfully installed(locally) Nginx PHP-FPM And MySQL Support On Ubuntu 11.10. For test I placed a phpinfo.php file in /usr/share/nginx/www/ & tried to access phpinfo.php using my browser http://localhost/phpinfo.php but nothing is happening and its showing

> The page you are looking for is temporarily unavailable. Please try
> again later.

So I checked error log file and I got this

2011/12/11 05:05:56 [error] 11164#0: *12 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /phpinfo.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"

Can anyone tell me what is wrong
Any help would be greatly appreciated
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 322
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready