introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.
-->

Installation Problem



Posted by: Ray1942
June 03, 2010 03:45AM
EasyPHP 5.2.10 installed without problems on my laptop running Windows XP.

Both MySQL and php are running.

I can connect to MySQL from the command line. However, I am unable to connect to to MySQL using php. The following line of code:
$link = mysqli_connect('localhost', 'root', 'password');
returns the following error:
Call to undefined function mysqli_connect()

I uncommented extension=php_mysqli.dll in the php.ini file, restarted EasyPHP. The problem still exists.

What should I try next?
Posted by: Amour
June 03, 2010 09:19AM
Which php.ini did you changed ?
Posted by: Thierry
June 03, 2010 10:33AM
use 127.0.0.1 instead of localhost.