Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1964  / 2 Years ago, wed, july 13, 2022, 11:06:23

I am again getting frustrated by my nginx server. I am trying to install laravel in my /var/www/project folder but when i delete the default HTML dir from /var/www/html it deviates me to the nginx welcome page. phpmyadmin doesn't work either.



How can I get Apache back and also remove nginx permanently?


More From » server

 Answers
0

Follow the Step to switch nginx to apache2




sudo apt-get remove nginx
sudo apt-get purge nginx
sudo apt-get remove nginx-common
sudo apt-get purge nginx-common
sudo apt-get remove nginx-full
sudo apt-get purge nginx-full
sudo apt-get autoremove


After removing nginx make sure your nginx remove completely. by running this command.




sudo dpkg -l | grep nginx


If you get any pacakges related with nginx, remove them.



Now Install apache2 on your Ubuntu and all your services related with your projects.



 sudo apt-get install apache2

[#25002] Friday, July 15, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tionavocad

Total Points: 189
Total Questions: 101
Total Answers: 118

Location: Liechtenstein
Member since Wed, Dec 8, 2021
2 Years ago
tionavocad questions
Tue, May 23, 23, 00:07, 1 Year ago
Tue, Jan 17, 23, 20:38, 1 Year ago
Sun, Oct 10, 21, 04:50, 3 Years ago
Tue, Jun 7, 22, 08:50, 2 Years ago
;