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

Hey community…! I tried this: 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é

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

According to a comment in the very same tutorial I used,, 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.

Hi, @ppdigital59

Could you please let me know if you’ve also completed all the steps from the Prerequisites section - 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:—-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.