Hi,
I've just bought a new server which came with:
Apache 2.0.40-21
PHP 4.2.2
MySQL 3.23.54a
PHP works fine, but I just tried using the mysql extensions and got the following error:
Call to undefined function: mysql_connect()
I've checked using phpinfo() and:
PHP was configured with '--with-mysql=shared,/usr'
MySQL is listed in the suported databases
I've also checked that MySQL is running.
And I tried adding a file /etc/php.d/mysql.ini with the line
extension=mysql.so
When I restart apache, phpinfo() says that this additional ini file is being processed, but still mysql_connect() doesn't work.
I have searched this list,but not found any resolutions to this problem. Can anyone help?!
Thanks.