Solution:
Are sure you started your mysql and apache server? if so restart again
Solution:
Make sure that your MySQL and Apache servers are running. If they are already started, try restarting them:
# Restart Apache
sudo systemctl restart apache2 # Debian/Ubuntu
# or
sudo systemctl restart httpd # CentOS/RHEL
# Restart MySQL
sudo systemctl restart mysql # Debian/Ubuntu
# or
sudo systemctl restart mysqld # CentOS/RHEL
✅ Tip:
Sometimes services appear to be running but need a restart to apply configuration changes.
After restarting, check their status with:
sudo systemctl status apache2 # or httpd
sudo systemctl status mysql # or mysqld