LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Redhat PHP 4.2 Problem, no mysql_connect() (https://www.linuxquestions.org/questions/linux-software-2/redhat-php-4-2-problem-no-mysql_connect-118050/)

nehalem 11-19-2003 11:16 PM

Redhat PHP 4.2 Problem, no mysql_connect()
 
I have everything working fine but Mysql, the most important thing for my site (used what came with redhat 9 for PHP, downloaded and installed MySql via RPM seperatley). I really am not sure what is wrong but the most basic function, mysql_connect(), throw back an error saying "Fatal error: Call to undefined function: mysql_connect() in /var/www/html/ValidateUser.php on line 16". How could this be? In the phpinfo() it says --with_mysql???

I really hope this isn't an RPM issue, as I really wanted to keep it RPM since I want to be able to upgrade it easily.

Please help me with this as it is VERY frustrating!

Thanks in advance!

lynger 11-20-2003 12:12 AM

hi nehalem,

i just found out that we're having the same problm.. i'v been tracking this prblm in this forum also since monday GMT +8.. anyway i think just like mine i configured apache mysql and php ryt but loading a code for mysql_connect giv me the same error..

maybe to solve the problm , linux is looking for a file MYSQL.SO under /usr/lib/php4/ directory..

i'm using openna linux, do you know where we could get this file??

i hope this help us both


pls also post your solution if you had solve the prblm....


thank you for your time


All times are GMT -5. The time now is 04:30 AM.