Welcome to the most active Linux Forum on the web.
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 12-17-2004, 11:05 AM   #1
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
Upgrading PHP to include MySQL support

Hi, all.

I am running Fedora Core 2, Apache 2.0.49, MySQL4.1.8-standard. I just used yum to upgrade PHP from 4.3.4 to 4.3.8 (I was hoping for 4.3.9).

My question is, what is the best approach to recompile PHP to upgrade to 4.3.9 and include MySQL support?

I have downloaded the source and figure that the best way to do it is to compile from that. However, I have two concerns: 1) Will this leave me with two parallel installations of PHP? and 2) the configure command from phpinfo() includes --with-apxs2=/usr/sbin/apxs, but apxs is not there (or anywhere else, for that matter).

Old 12-22-2004, 10:26 PM   #2
LQ Newbie
Registered: Aug 2004
Posts: 15

Rep: Reputation: 0
Dear zaichik,

First of all, get apt and synaptic from this will greatly help you along. second, you don't need to compile php with mysql support. you have to install the php-mysql mod for apache. that's it.
Old 12-23-2004, 07:50 AM   #3
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Original Poster
Rep: Reputation: 30
Excellent. Thanks much!


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
Upgrading PHP to include MYSQL support zaichik Linux - Newbie 2 12-21-2004 02:45 PM
Upgrading PHP..and maybe MySQL too? Vort3x Mandriva 4 11-23-2004 06:40 PM
Upgrading PHP,.. and maybe MySQL too? Vort3x Linux - Software 1 10-29-2004 12:35 PM
Installing MySQL.4.0.17 and php support for Mysql on RedHat 9.0 Neha Linux - Software 13 12-29-2003 01:06 AM
PHP and MySQL after upgrading Redhat Shinjuku Linux - Software 5 05-02-2003 01:37 PM > Forums > Linux Forums > Linux - Newbie

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