info.php page not showing as expected in tutorial

Posted March 17, 2017 1.8k views
PHPUbuntu 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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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