Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-08-2006, 10:22 AM   #1
LQ Newbie
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
apache 2 with php5 and mysql5

Am trying to install


mysql was installed with no errors
same as for apache and while compiling php5 in the configure step (below is the configure syntax am inserting)

./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite --enable-speling --enable-ssl --enable-unique-id --enable-usertrack --enable-deflat --enable-expires --enable-auth-anon --enable-auth-dbm --enable-auth-digest --enable-logio --enable-mime-magic --enable-modules=most --enable-headers --enable-info --enable-v4-mapped && echo done-conf

while it is configuring it stops and gives the following error:

checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.
[root@myeasyroots php-5.1.6]# Linux myeasyroots 2.6.17-1.2174_FC5 #1 Tue Aug 8 15:30:55 EDT 2006 i686 i686 i386 GNU/Linux

Linux, Redhat, Fedora5 is the operating system am working on.

If anyone can help me fix this error would be very thanksfull.
Old 09-08-2006, 03:22 PM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,478

Rep: Reputation: 1480Reputation: 1480Reputation: 1480Reputation: 1480Reputation: 1480Reputation: 1480Reputation: 1480Reputation: 1480Reputation: 1480Reputation: 1480
This is strange since you don't use --with-mysql in your ./configure options. Anyway to add mysql support you must add:
and perhaps
in your ./configure options.



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

Similar Threads
Thread Thread Starter Forum Replies Last Post
apache + php5 + mysql dejan_su Debian 2 05-23-2006 01:55 PM
Want to build apache 2.20.0, MySQL5, Php 5 and PostgreSQL8.x together Slackware10.2 fle Slackware 1 02-24-2006 02:05 AM
help installing PHP5 for Apache blizunt7 Fedora 6 11-03-2005 10:59 AM
Apache and PHP5 Mogatu Linux - Software 3 06-17-2005 03:43 PM
Problems configuring apache for php5 Besnell Mandriva 3 12-28-2004 09:01 AM

All times are GMT -5. The time now is 07:48 PM.

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