installing WordPress with Nginx on Ubuntu , fixing database errors, permissions denied

Опубликовано: 18 Март 2026
на канале: Holy_Dev
123
3

#ubuntu #ubuntulinux #ubuntuserver #ubuntututorial
Are you trying to install WordPress with Nginx on Ubuntu, but running into errors? In this step-by-step guide, I'll show you how to install WordPress on Windows Subsystem for Linux (WSL) with Nginx, MySQL (MariaDB), and PHP—and fix common issues like:

✅ "Error Establishing a Database Connection"
✅ "Permission Denied" when writing wp-config.php
✅ Fixing Nginx not serving WordPress (seeing Apache default page instead)

By the end of this tutorial, you'll have a fully working WordPress website running on WSL with Nginx. No more errors—just a smooth setup!

⏱️ Chapters:
00:00 Intro
00:30 Setting Up WSL & Linux Environment
02:15 Installing Nginx, MySQL, and PHP
05:45 Downloading & Configuring WordPress
09:30 Fixing "Error Establishing a Database Connection"
14:20 Fixing "Permission Denied" When Writing wp-config.php
18:50 Ensuring Nginx Serves WordPress Correctly
20:30 Final Testing & Wrap-up

💬 Got stuck? Drop a comment below, and I'll help you out! 👍

🔔 Don't forget to like & subscribe for more tutorials!