I have PHP version 5.3.2 installed. I'm trying to connect to a remote mysql database version 4.1.22
The PHP is running on IIS7
The problem is in my php.ini, only 2 files are included as extensions:
extension=php_curl.dll
extension=php_sqlite3.dll
I added these to the php.ini
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_pdo_mysql.dll
and also placed the 3 dll files in the ext folder where PHP is installed. But I keep getting a 500 server error. Nothing is recorded in the PHP error log.
I got this from the event viewer application error:
Faulting application php-cgi.exe, version 5.3.2.0, time stamp 0x4b8ebb1d, faulting module php-cgi.exe, version 5.3.2.0, time stamp 0x4b8ebb1d, exception code 0xc0000005, fault offset 0x0000193a, process id 0x2540, application start time 0x01cd441011e2e3a0.
Basically I'm getting an error on using the mysql_connect() which is:
Call to undefined function mysql_connect()
Any help would be greatly appreciated.