LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   php5 and MySQL 4.1 under Fedora C2 (https://www.linuxquestions.org/questions/linux-software-2/php5-and-mysql-4-1-under-fedora-c2-270225/)

cidrolin 12-25-2004 01:00 PM

php5 and MySQL 4.1 under Fedora C2
 
I am trying to get php5 to wotk with Apache 2 and MySQL 4.1 on my Fedora C2 laptop.

So far, Apache works fine, as well as MySQL. I have compiled php5 and it runs proprely, except for the MySQL extension. It doesn't appear in the phpinfo() and when phpMyAdmin tries to connect it says it tried to load the extension but failed.

php5 was copiled with --with-mysql, but not --with-mysqli : I can't find the mysql_config file which is necessary to compile with mysqli, although I have installed all mysql rpms (server, client, shared, devel and bench).

Any clue someone ?

jacks4u 12-26-2004 03:06 AM

Do you have the php module for mysql? without that, php doesn't know how to talk tto mysql.

Something like php-mysql. For Debian Woody (the distro that I use, with php4 the module is called 'php4-mysql'. I'll assume (perhaps incorrectly?) that there is an RPM for the php5-mysql???


All times are GMT -5. The time now is 09:38 PM.