LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   phpmyadmin & apache (https://www.linuxquestions.org/questions/linux-software-2/phpmyadmin-and-apache-196053/)

compu73rg33k 06-21-2004 12:55 PM

phpmyadmin & apache
 
About 3 weeks ago I tried installing phpmyadmin. After thirty minutes of looking for where the directory was on my site I gave up and just pretty much forgot about it. I tried mydomain/phpmyadmin with no luck and everything. Today I restarted my server (First time in like two months) and I saw when it was starting servers it started apache (apache never started at bootup)! I was questioning what in the hell was going on so I went to my site, and to my suprise my site was GONE! There was ONE directory and that was phpmyadmin! AHHH I thought to myself! I looked in my /usr/local/apache2/htdocs and thankfully my files were all there. Now after some looking I figured out /var/www had the phpmyadmin directory. Now I'm thinking to myself maybe phpmyadmin installed another instance of apache? How would I go about uninstalling this but not my apache 2 stuff? I copied all the phpmyadmin stuff that is on my webserver to a directory in my htdocs so I can install it where I want! :) I appreciate your time guys!

Mara 06-21-2004 04:05 PM

Check DocumentRoot variable in httpd.conf file (probably /etc/httpd/httpd.conf).

compu73rg33k 06-21-2004 06:38 PM

that's not the problem I think theres two instances of apache installed. I did a locate for httpd.conf and I got two things

/etc/apache/httpd.conf

and

/usr/local/apache2/conf/httpd.conf

The latter is the one is the one I want to use all the apache stuff in the /usr/local/apache2 directory

skysurf76 06-22-2004 12:30 AM

I messed around with PHPMyadmin about a week ago. To install it all I did was unzil the files, and plop it in my www folder, edited the config file so it could talk to my DB, and then went to www.mydomain.com/phpmyadmin and it worked fine.

I didn't wanna leave it there once I setup the database I was working on cause I couldn't figure out to secure it, and as a general rule, if I don't understand something, I get rid of it. So to get rid of PhPMyadmin I just deleted the PHPMyadmin folder in my www directory, and everything was fine.

I don't think PHPMyadmin actually "installs" so to speak, its just a set up php/html files that talk to your databse.


Sky

compu73rg33k 06-22-2004 01:32 PM

Yeah your right, but I did apt-get install phpmyadmin and I think as it was setting the stuff up it installed Apache 1.3 and I already have Apache 2.0.

What I have right now is I just went ot Webmin and unchecked the startup script for that apache 1.3 thihng so it doesn't start up at bootup and then I just start my regular Apache 2.0..


All times are GMT -5. The time now is 03:28 PM.