undefined function: mysql_connect()
I am running PHP on Red Hat 9. The result screen from running phpinfo() shows that I have '--with-mysql=shared,/usr' option configured. However when I try to run the database and table listing script from page 402 of "Beginning PHP" I get the following error:
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/showdb.php on line 6
I am pretty new to Linux and very new to PHP. I appreciate any help I can get on this problem.