Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-19-2004, 06:02 AM   #1
LQ Newbie
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
PHP5.0.0RC3 on Fedora Core 2


I'm trying to install/build PHP5.0.0RC3 on my Fedora Core 2 installation...

I have installed the httpd-devel package (with up2date) and I have copied the header files in the include folder in "mysqlxxxx.tar.gz" to /usr/include/mysql.

Then, in the folder where I untared the PHP5.0.0RC3.tar.gz file, I'm trying to run: ./configure --with-mysql --with-apxs2 --with-zlib-dir=/usr/lib

After a while it stops with the following error message:
configure: error: mysql configure failed. Please check config.log for more information.

What is wrong? Please help.

Old 10-01-2004, 01:58 PM   #2
Registered: Sep 2003
Location: North America
Distribution: FC6 FC7 F8
Posts: 75

Rep: Reputation: 15
Try stopping the mysqld service befor you configure or make php5.
Old 10-01-2004, 02:56 PM   #3
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
I've never had to stop MySQL before compiling a new PHP, and there shouldn't be any way a running MySQL process can interfere with the configuration. Did you check the config.log like the message says? What does it say?
Old 10-02-2004, 07:57 PM   #4
Registered: Sep 2003
Location: North America
Distribution: FC6 FC7 F8
Posts: 75

Rep: Reputation: 15
I don't know if you have solved yet, but I just did a mysql and then php installation and got the same error as you using "--with-mysql" and this has happened twice now, when I change to" --with-MySQL" the configuration finds the header files and is successfull. Good luck.


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
PHP5 & HTTPD (apache) on Fedora Core 4 fatum112 Linux - Software 4 12-02-2005 06:44 PM
php5 and MySQL 4.1 under Fedora C2 cidrolin Linux - Software 1 12-26-2004 04:06 AM
Apache2 with PHP5 on Fedora C2 cdrobsonjr Linux - Software 5 09-13-2004 06:06 PM
Severe problems with Fedora Core 1 and Fedora Core 2 installatiom TheOneKEA Fedora - Installation 2 07-14-2004 03:12 PM
Fedora Core 2 - Just days away! Final comments on Fedora Core 1 lrt2003 Fedora 3 05-12-2004 03:09 AM > Forums > Linux Forums > Linux - Newbie

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

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