LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-08-2006, 11:22 AM   #1
jghalo
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
apache 2 with php5 and mysql5


Hi,
Am trying to install

mysql-standard-5.0.22-linux-i686-glibc23.tar.gz
httpd-2.2.2.tar.bz2
php-5.1.6.tar.gz


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, 04:22 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,953

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
This is strange since you don't use --with-mysql in your ./configure options. Anyway to add mysql support you must add:
Code:
–with-mysqli=/path/to/mysql/bin/mysql_config
and perhaps
--with-mysql=/path/to/mysql
in your ./configure options.

Regards
 
  


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


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


All times are GMT -5. The time now is 08:55 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 Google+: linuxquestions
Open Source Consulting | Domain Registration