Sunday 15 May 2011

mysql - HTTP Request 500 when I call mysqli_connect with PHP -



mysql - HTTP Request 500 when I call mysqli_connect with PHP -

i want utilize database store user data. running apache server php , mysql installed. when seek mysqli_connect, there http 500 error. code:

$con = mysqli_connect("localhost","root","password","database"); mysqli_close($con);

i checked apache log; here's said:

[time] [error] [client localhost] php fatal error: phone call undefined function mysqli_connect() in [document address] on line 78, referer: [url]

and

php warning: php startup: unable load dynamic library 'ext/php_mysqli.dll' - specified module not found.\r\n in unknown on line 0

also, var_dump(function_exists('mysqli_connect')); outputs bool(false).

i've uncommented extension=php_mysqli.dll in php.ini, checked ext directory , there php_mysqli.dll file in it, checked other stackoverflow (and other) questions this, none of answered me. reply staring @ me in face? new this.

test phpinfo () , create sure function activated

php mysql apache internal-server-error

No comments:

Post a Comment