Apache2 on my Linux box has messed up my LAMPP installation

Page 1 of 1 [ 2 posts ] 

Madbones
Veteran
Veteran

User avatar

Joined: 7 Mar 2010
Age: 27
Gender: Male
Posts: 777
Location: In the zone

13 Mar 2012, 11:34 am

Hey!
The other day I wanted SVN working on my Linux box so I could use it to backup my Xcode projects.
The trouble is, it never worked. So today, I attempted to use my LAMPP server.
I went to my browser and like always typed:localhost/
Then it shows up the files hosted in the Apache2 directory.
So I am presnted with:
It works!
How can I remove Apache2?
I know this is a nooby question, I apologize.
Any ideas?
Or I guess I could find the apache2 config file and make the address apache2/ instead of Localhost/ (How would I do that?)
Thanks!


_________________
?Sometimes when you innovate, you make mistakes. It is best to admit them quickly, and get on with improving your other innovations.? -Steve Jobs.


NakaCristo
Tufted Titmouse
Tufted Titmouse

User avatar

Joined: 23 Jan 2012
Age: 37
Gender: Male
Posts: 49
Location: Santander, Spain

13 Mar 2012, 4:10 pm

If you want both servers apache and LAMPP active one option is change LAMPP port and set in apache a ProxyPass to it in direction localhost/lampp.

The way to uninstall apache2 depends on your package manager, it can be #emerge -C www-servers/apache , #apt-get remove apache2 , ...

You may want instead to disable the autorun of apache at the starting (removing the link from rc#.d, eselect rc delete, rc-config delete, update-rc remove, or whatever it is done in your distribution).