mathguy -
Joined: 24 Jul 2008 Posts: 4
|
Posted: Thu Jul 24, 2008 11:06 am Post subject: php_mysqli.dll |
|
|
Hi every one.
For the past two days, I have been trying to run the following very simple script:
<?php
$mysqli=new php_mysqli("localhost","root","password");
echo "Connection successful."
?>
But I keep getting the following error:
Fatal error: Class 'php_mysqli' not found in C:\program files\abyss web server\htdocs\p\pphp\mysqlconnect1.php on line 2.
However, the following script runs without any trouble at all:
<?php
$link=mysql_connect('localhost','root','password');
echo "Connection successful";
mysql_close($link);
?>
I've been trying to find out what's going on for two solid days.
PHP is set up correctly; it runs most scripts just fine.
In php.ini, BOTH the php_mysql.dll and the php_mysqli.dll extensions are uncommented.
The path is obviously ok, because the php_mysql.dll is being invoked, but for some reason, php_mysqli.dll simply does NOT work, and I'm going CRAZY!!
Any help would be greatly appreciated. |
|