LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-17-2004, 10:05 AM   #1
zaichik
Member
 
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).

TIA.
 
Old 12-22-2004, 09:26 PM   #2
linux_newbie_gu
LQ Newbie
 
Registered: Aug 2004
Posts: 15

Rep: Reputation: 0
Dear zaichik,

First of all, get apt and synaptic from freshrpms.net. 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, 06:50 AM   #3
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

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


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:33 PM.

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