LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   MySQL and PHP (https://www.linuxquestions.org/questions/programming-9/mysql-and-php-7294/)

DR2000 10-05-2001 10:49 PM

MySQL and PHP
 
I have Red Hat 7.1. By the time I got the machine apache and php where preinstalled. I installed MySQL. Everything seems to work fine, until I try to connect to the db from PHP.

Here is the error:
Fatal error: Call to undefined function: mysql_pconnect() in /home/dr2000/somefile.php3 on line XX.

Does that mean that apache is missing some mysql plugins?

Any ideas why this could be happening? I spent all evening, and can't seem to figure it out.

Thanks for help.

DR2000 10-06-2001 12:46 AM

ok. just downloaded php src from php.net, tryied to config it. some apache parts were missing, so i downloaded apachi-dev rpm. installed it. compiled php, installed it, and that solved the problem... :)


All times are GMT -5. The time now is 01:09 AM.