I was uncomment php_mysql.dll and added php_mysqli.dll, put edited php.ini as recommended, also added libmysql.dll on c:\winnt\system32. But it still doesn't work, it still generate "cannot load mysql extension, ...". Previously, I was edit system variables(edit Path variable by add ;c:\php;c:\php\ext and add PHPRC > value c:\php), also edit Registry as the following : [HKLM\SOFTWARE\PHP] "IniFilePath"="C:\PHP" PHP installed on C:\PHP Apache 2.0 on C:\Program Files\Apache Group\ ... MySQL on C:\Program Files\MySQL I hope, someone can help me to solve the problem before I'm return back to PHP4. Thanks and Thanks -----Original Message----- From: Lester Caine [mailto:lester@xxxxxxxxxxx] Sent: Sunday, August 14, 2005 4:46 AM To: Bagus Nugroho Subject: Re: PHP without php.ini Bagus Nugroho wrote: > Actually, my problem is when used phpmyadmin it was generate error "cannot load mysql extension". Then I'm trying to resolve as refer php-manual(included edit system environment), googling but the result is none. > > I'm give up, and remove all php.ini to ensure is the problem on php.ini or others. > > Any idea, what is wrong? As you have already found, the default location for php.ini on windows is the windows directory ( c:\winnt\ on W2k ) PHP5 does not now load MySQL be default since the licence restrictions changed, and you now need to select the correct version of extension to match the version of MySQL. So you need to 'uncomment' extension=php_mysql.dll or extension=php_mysqli.dll for pre or post Version 4 MySQL -- Lester Caine ----------------------------- L.S.Caine Electronic Services -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php