LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Upgrading PHP to include MySQL support (https://www.linuxquestions.org/questions/linux-newbie-8/upgrading-php-to-include-mysql-support-267405/)

zaichik 12-17-2004 10:05 AM

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.

linux_newbie_gu 12-22-2004 09:26 PM

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.

zaichik 12-23-2004 06:50 AM

Excellent. Thanks much!


All times are GMT -5. The time now is 05:35 AM.