info.php page not showing as expected in tutorial

March 17, 2017 1.3k views
PHP Ubuntu 16.04


I followed every step in How To Install Linux, Nginx, MySQL, PHP (LEMP stack) in Ubuntu 16.04, as suggested by support, going first to the link of the initial set up and configuring my droplet security and i had *all *the results as expected in the guides. I have two ssh keys, one for root and one for my user, both working perfectly in Putty and Filezilla.

However, when i came to the very end of the guidance i did not see the page by zend engine, but when typing in browser, the file downloaded directly to my notebook, not showing in browser. (i had the google main page in browser and it just remained there).

Please, help.

In gratitude

2 Answers

You didn’t configure the PHP section in the Nginx configuration. That’s why you’re downloading the PHP files instead of them running on the server.
Post your Nginx configuration here nginx -T

I had another issue here that i probably will have to destroy this droplet.
I am to new for this. I’ll come back soon.

thanks for you attention

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!