Report this

What is the reason for this report?

Looking for a tut for installing nginx mariadb and php on ubuntu 20.04

Posted on September 2, 2020

Hey community…! I tried this: https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-20-04 No joy. I followed carefuly the instructions and after creating the index.html file it doesn’t appears in my browser. But I what I really want is to install nginx mariadb and php on ubuntu 20.04 for Drupal 8 and 9 websites. Can somebody point me in the right direction…?

Warm regards from way too sunny México. José



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!

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.

Hi, @ppdigital59

Could you please let me know if you’ve also completed all the steps from the Prerequisites section - https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-20-04 as well?

If you try to load the index file in your browser do you get any error messages or the page is just not loading?

Regards, Alex

Hey José,

It appears there is some misconfiguration in Nginx configuration. I would recommend you to double-check the configuration by the following Step 4: https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-20-04#step-4-—-configuring-nginx-to-use-the-php-processor

If you can share the URL and error message it would be easier to provide some suggestions. Also, you can open a support ticket to DigitalOcean for help.

Regards,

-Dikshith

According to a comment in the very same tutorial I used, https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-20-04, after this step: sudo ln -s /etc/nginx/sites-available/your_domain /etc/nginx/sites-enabled/ You absolutly have to run this: sudo unlink /etc/nginx/sites-enabled/default

So now it’s working.

The tutorial should be updated.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.