LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 04-19-2005, 12:51 PM   #1
Elguapo
Member
 
Registered: Mar 2005
Distribution: FC7
Posts: 42

Rep: Reputation: 15
Installing php with mysql support


I have php installed, but I didnt install it with mysql support. So now I am back tracking trying to install it with mysql support.

when I run the following command.

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql

I get the following error.

configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore.

I have also tried several variations on the configure script trying to point it to the mysql headers. But with no luck.

Any help would be greatly appreciated.
 
Old 04-19-2005, 01:08 PM   #2
zeos
Member
 
Registered: Aug 2003
Posts: 150

Rep: Reputation: 15
install your distros mysql-devel package (looks like you're running mdk, so urpmi mysql-devel) .....assuming you're running the mysql rpm's from your distro and havn't installed upgraded ones from mysql.com
 
Old 04-19-2005, 05:52 PM   #3
Greg Haynes
Member
 
Registered: Oct 2004
Location: Houston, TX
Distribution: Gentoo
Posts: 30

Rep: Reputation: 15
the header files are located at mysql.com, just look around the rpms.
 
Old 07-21-2005, 09:58 PM   #4
alpineedge3
LQ Newbie
 
Registered: Jul 2005
Location: Boston
Posts: 7

Rep: Reputation: 0
i have the same problem. so i downloaded the library & header files rpm, but what commands do i do now? i don't have a yes directory, only an executable in /usr/bin. thanks!
 
  


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
php <-> MySql support boardtc Mandriva 8 04-06-2005 01:05 AM
Problem with php and mysql support... Jake_B Linux - Software 3 10-18-2004 11:18 PM
Slackware 10, PHP doesn't support MySQL whoie99 Slackware 7 07-26-2004 04:59 AM
Installing MySQL.4.0.17 and php support for Mysql on RedHat 9.0 Neha Linux - Software 13 12-29-2003 12:06 AM
How do I install php-mysql support? joseph_k Linux - Software 5 04-03-2003 05:33 PM


All times are GMT -5. The time now is 07:12 AM.

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
Open Source Consulting | Domain Registration