<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi,</div><div class="gmail_default" style="font-family:tahoma,sans-serif">I have install nginx 1.0.15 and php 5.3 on a VM running Ubuntu 14.04.</div><div class="gmail_default" style="font-family:tahoma,sans-serif">The configuration file looks like below</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">$ cat /usr/local/nginx/conf/nginx.conf<br>#user  nobody;<br>worker_processes  1;<br>#error_log  logs/error.log;<br>#error_log  logs/error.log  notice;<br>#error_log  logs/error.log  info;<br>#pid        logs/nginx.pid;<br>events {<br>    worker_connections  1024;<br>}<br>http {<br>    include       mime.types;<br>    default_type  application/octet-stream;<br>    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '<br>    #                  '$status $body_bytes_sent "$http_referer" '<br>    #                  '"$http_user_agent" "$http_x_forwarded_for"';<br><br>    #access_log  logs/access.log  main;<br>    sendfile        on;<br>    #tcp_nopush     on;<br>    #keepalive_timeout  0;<br>    keepalive_timeout  65;<br>    #gzip  on;<br>    server {<br>        listen       80;<br>        server_name  localhost;<br>        #charset koi8-r;<br>        #access_log  logs/host.access.log  main;<br>        location / {<br>            root   html;<br>            index  index.html index.htm;<br>        }<br>        #error_page  404              /404.html;<br>        # redirect server error pages to the static page /50x.html<br>        #<br>        error_page   500 502 503 504  /50x.html;<br>        location = /50x.html {<br>            root   html;<br>        }<br>        # proxy the PHP scripts to Apache listening on <a href="http://127.0.0.1:80">127.0.0.1:80</a><br>        #<br>        #location ~ \.php$ {<br>        #    proxy_pass   <a href="http://127.0.0.1">http://127.0.0.1</a>;<br>        #}<br>        # pass the PHP scripts to FastCGI server listening on <a href="http://127.0.0.1:9000">127.0.0.1:9000</a><br>        #<br>        location ~ \.php$ {<br>            root           html;<br>            fastcgi_pass   <a href="http://127.0.0.1:9000">127.0.0.1:9000</a>;<br>            fastcgi_index  index.php;<br>            fastcgi_param  SCRIPT_FILENAME  /usr/local/nginx/html/public_html/$fastcgi_script_name;<br>            include        fastcgi_params;<br>        }<br>        # deny access to .htaccess files, if Apache's document root<br>        # concurs with nginx's one<br>        #<br>        #location ~ /\.ht {<br>        #    deny  all;<br>        #}<br>    }<br>    # another virtual host using mix of IP-, name-, and port-based configuration<br>    #<br>    #server {<br>    #    listen       8000;<br>    #    listen       somename:8080;<br>    #    server_name  somename  alias  another.alias;<br>    #    location / {<br>    #        root   html;<br>    #        index  index.html index.htm;<br>    #    }<br>    #}<br>    # HTTPS server<br>    #<br>    #server {<br>    #    listen       443;<br>    #    server_name  localhost;<br>    #    ssl                  on;<br>    #    ssl_certificate      cert.pem;<br>    #    ssl_certificate_key  cert.key;<br>    #    ssl_session_timeout  5m;<br>    #    ssl_protocols  SSLv2 SSLv3 TLSv1;<br>    #    ssl_ciphers  HIGH:!aNULL:!MD5;<br>    #    ssl_prefer_server_ciphers   on;<br>    #    location / {<br>    #        root   html;<br>    #        index  index.html index.htm;<br>    #    }<br>    #}<br><br>}</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I also have put a phpinfo.php file like this</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">root@fr13:/usr/local/nginx/html# cat phpinfo.php<br><?php phpinfo(); ?><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">When I open the browser and enter localhost/phpinfo.php, I get this message</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">The page you are looking for is temporarily unavailable.</div><div class="gmail_default" style="font-family:tahoma,sans-serif">Please try again later.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">How can I resolve that?</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font face="tahoma,sans-serif">Regards,<br>Mahmood</font><br><br><br></div></div></div></div>