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. |
I was under the impression that the PHP rpm packages included mysql support by default. Is this not the case?
|
I thought so as well. However, web pages that have mysql functions in them (like mysql_connect() ) do not load, and the logs have errors in them indciating a "call to undefined function in blahblah.php". So, I gather not. Although one of the configure commands does include --mysql-shared or some such. All the same, the PHP mysql functions are treated as "undefined" by Apache.
Any ideas? |
All times are GMT -5. The time now is 11:41 AM. |