Results 1 to 1 of 1
Oct 10, 2004, 02:00 #1
- Join Date
- Oct 2004
- 0 Post(s)
- 0 Thread(s)
PHP5 and MySQLi connection problem
I searched for other people having this problem, but it seems they gave up trying !!
I have trouble with MySQL 5 and PHP 5.0.2, using XP SP1 with IIS. The PHP is a .exe with the MySQLi.dll's supplied.
I can get PHP to access MySQL using CGI and the (older) MySQL functions, but when I try and use ISAPI and MySQLi functions I have a problem ....
Fatal error: Call to undefined function mysqli_connect() in (php file name) - this message is from just trying to do a connect.
I have checked all permissions, set-up PHP and MySQL according to the instructions and have enabled mySQLi in the php.ini file, re-booted and even copied the .DLLs into the System32 directory but still no luck.
With it setup for CGI, the MySQL details appeared with phpinfo, but with ISAPI no details appear with phpinfo.
Any help or ideas would be greatly appreciated.