PHP script error - mysql_connect() does not exist

I an running CentOS 5.8 with PHP 5.3.10. I am running a script from terminal with the purpose of executing mysqldump. When I try to make a connection to DB, I get an error message that mysql_connect() does not exist…does anyone have any suggestions?

I have confirmed that php is running correctly and mysql & mysqldump have 755 permissions.

Please help…

Well, we are holding a seance later today to guess what your code looks like! LOL…

Anyway, did you start your code with "<?PHP " ??? Does your other PHP code work. Can you set a variable and echo it? Before looking into the mysql_connect error, let us know if everything else PHP works for you.

Sponsor our Newsletter | Privacy Policy | Terms of Service