Jump to content

PHP5 can't find php.ini! But uses some configuration...


Recommended Posts

I am running PHP 5.0.4 under Apache 1.3.31 and WinXP. Have changed settings in php.ini several times, but phpinifo() outputs some configuration that even doesn't semm to be close to that one in my php.ini. BUT!
When in have made dir C:\php5 for extension php_mysqli as it's displayed in phpinfo()'s output, it hasn't been detected by phpmyadmin anyway!!! Help! I'm just a beginner ???
Move the php.ini file to C:\WINDOWS

When you have done that restart Apache. Is PHP now reading the correct php.ini?

Also have a read of [url=http://www.phpfreaks.com/forums/index.php/topic,95378.0.html]thread[/url] for enabling the mysql extension. FYI I believe phpMyAdmin requires the php_mysql.dll extension rather than the php_mysqli.dll function.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.