I have about a years worth of experience doing basic things with PHP like database connectivity. I wrote a very simple script to access a mySQL database and I am getting the following error:
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/myscript.php on line 12
I have no idea why this is happening. I am using Linux porky.devel.redhat.com 2.2.17-8smp #1 SMP Fri Nov 17 16:12:17 EST 2000
I am also using PHP Version 4.0.4pl1.
I do not have telnet access to the box to determine the version of mySQL being used.
I assumed that with most builds of Linux that you get pretty much all of the libraries
covered in the documentation. Could this error have come from:
a) The function library containing mysql_connect being missing or
b) bad information (like an improper username) being fed to the function.
Any help on this matter would be highly appreciated.