LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-21-2004, 12:55 PM   #1
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Rep: Reputation: 30
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!
 
Old 06-21-2004, 04:05 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Check DocumentRoot variable in httpd.conf file (probably /etc/httpd/httpd.conf).
 
Old 06-21-2004, 06:38 PM   #3
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
Cool

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
 
Old 06-22-2004, 12:30 AM   #4
skysurf76
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
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
 
Old 06-22-2004, 01:32 PM   #5
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
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..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
phpmyadmin & cleartext controlpass [GOD]Anck Linux - Security 3 01-26-2005 01:57 PM
How do I know that apache, MySql, PHP, phpMyAdmin is Installed AskMe Linux - Newbie 7 02-04-2004 05:27 PM
Apache - PHPMyAdmin - page not found jriis Linux - Software 1 01-07-2004 08:06 PM
MySql & phpMyAdmin & mysqldump BaerRS Linux - Software 2 01-24-2003 09:05 AM
phpMyAdmin & MySQL Staz Linux - Software 0 09-26-2002 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration