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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.