LinuxQuestions.org
Help answer threads with 0 replies.
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 04-20-2005, 09:53 AM   #1
wdfears
LQ Newbie
 
Registered: Jan 2005
Posts: 12

Rep: Reputation: 0
checking for MySQL in PHP from RPM


I installed PHP from an RPM, is there a way to see if it has MySQL support?
 
Old 04-20-2005, 10:17 AM   #2
zeos
Member
 
Registered: Aug 2003
Posts: 150

Rep: Reputation: 15
Create a file on your webserver as follows and open it ...it'll give you more information than you ever want to know about php...

Code:
<?
phpinfo();
?>

That said, often on RPM based systems there's a seperate package "php-mysql" that must be installed...
 
Old 04-20-2005, 06:20 PM   #3
wdfears
LQ Newbie
 
Registered: Jan 2005
Posts: 12

Original Poster
Rep: Reputation: 0
great thanks, now I have another question
I could see that mysql path is wrong, I can't figure out how to tell the RPM where mysql is ie --with-mysql=/path/to/mysql is this possible to do with RPM ?
 
  


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
rpm reqmt for running php + mysql + apache ankscorek Linux - Software 1 04-12-2005 09:59 PM
Installing php-mysql RPM on RH9 stephen_e Red Hat 7 09-26-2004 09:10 AM
RPM, MySQL, PHP and Apache cossy74 Red Hat 1 03-03-2004 03:51 PM
php-mysql-4.3.2-6.i386.rpm dependencies dgp Linux - Software 2 07-17-2003 02:05 AM
php-mysql-4.2.2-8.0.7 RPM issues, should I switch to redhat 9? jstander Linux - Software 1 05-20-2003 03:31 PM

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

All times are GMT -5. The time now is 05:50 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