LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-22-2005, 11:40 PM   #1
meander
LQ Newbie
 
Registered: Jan 2005
Posts: 14

Rep: Reputation: 0
Setting up apache with php and mysql


ive got webmin now and i want to set up apache with php and mysql. i have a fresh install of rh9 and i tried to manually install mysql, but it didnt work.
 
Old 01-23-2005, 12:24 AM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
- How did you do that? Source? RPM's? Packages included with your CD's?.

- Why it did not work? Error messages? Which?
 
Old 01-23-2005, 11:04 AM   #3
meander
LQ Newbie
 
Registered: Jan 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Well, first i tried to do the binary that wasnt the rpm, just the .tar.gz. I uploaded it to the server and ran all of the commands in the installation instructions file that it said you had to do. I tried to configure it with webmin and it still gave the error:
Quote:
The MySQL admin program /usr/bin/mysqladmin was not found on your system. Maybe MySQL is not installed, or your module configuration is incorrect.
so then i tried to do the rpm, so i uploaded that and folowed the installation instructions but it still gives me the same error. i am thinkin about installing fedora core 3 on there before i get everything set up, would that benefit me any?
 
Old 01-25-2005, 11:39 AM   #4
orioncrest
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
Have you installed both the "server" and "client" of mySql RPM?

Last edited by orioncrest; 01-25-2005 at 11:41 AM.
 
Old 01-25-2005, 01:36 PM   #5
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
During the compile of mysql, did you get any errors? If so, please post.

-twantrd
 
Old 01-25-2005, 02:30 PM   #6
meander
LQ Newbie
 
Registered: Jan 2005
Posts: 14

Original Poster
Rep: Reputation: 0
well, i didnt know that you had to install both the server _and_ client rpms of mysql, i did that and it works now. how about php? they dont have an rpm do they?
 
Old 01-26-2005, 04:10 AM   #7
cidrolin
Member
 
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
Quote:
Originally posted by meander
well, i didnt know that you had to install both the server _and_ client rpms of mysql, i did that and it works now. how about php? they dont have an rpm do they?
php mysql extensions uses MySQL client library.

I use Fedora C2, to my knowledge there is no php5 rpm yet, only php4. Lost some hair compiling php5, configure puts an extra reference to the mysql library in the makefile and make just doesn't like it. Perhaps I looked for trouble trying to get php5 working with both mysql *and* mysqli extensions, though. However, here's my hope message : it finally worked (after quite some googling around).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Up LAMP: Getting Linux, Apache, MySQL, and PHP Working Together rhythmking Slackware 2 06-08-2005 04:05 AM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 08:59 PM
setting up PHP & MySQL neon Linux - Newbie 12 10-24-2003 10:59 PM
php-nuke with apache php mysql c0c0deuz Linux - Software 0 03-30-2003 06:23 AM
RH/Apache/MySQL/PHP c0c0deuz Linux - Software 8 12-24-2001 07:05 PM


All times are GMT -5. The time now is 04:10 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration