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?
Options: ReplyQuote
Posted by: Amour
June 03, 2010 09:19AM
Which php.ini did you changed ?
Options: ReplyQuote
Posted by: Thierry
June 03, 2010 10:33AM
use 127.0.0.1 instead of localhost.
Options: ReplyQuote


Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.