Hi! Strange. Never heard but Ok - good that you worked it out! Vänligen/Regards Gustav Wiberg Developing Engineer -----Original Message----- From: Bruce Cowin [mailto:bdc@xxxxxxxxxxxxxxx] Sent: Wednesday, January 16, 2008 9:54 PM To: Gustav Wiberg; 'Patrick Farley'; 'php-windows@xxxxxxxxxxxxx'; Bruce Cowin Subject: RE: Can't get MySQL extensions to load I got it to work. It turns out you need a registry entry in HKLM\Software\PHP call IniFilePath set to where your ini file is. Now that it's using the right ini file, it's loading the extensions. Regards, Bruce >>> "Bruce Cowin" <bdc@xxxxxxxxxxxxxxx> 17/01/2008 8:53:58 a.m. >>> That was a good idea, but unfortunately it doesn't work. It still doesn't load any of the extensions. Regards, Bruce >>> Gustav Wiberg <gustav.wiberg@xxxxxxxxxxxxx> 16/01/2008 8:29:00 p.m. >>> Hi! If phpinfo points at c:\windows - that's where the php searches for settings in first place. Try to copy php.ini from c:\php to c:\windows and see the result. Vänligen/Regards Gustav Wiberg Developing Engineer ===================================== DET SKA VARA LÄTT ATT TA RÄTT BETALT! Har du råd att inte prova Timeweb.se? ===================================== -----Original Message----- From: Bruce Cowin [mailto:bdc@xxxxxxxxxxxxxxx] Sent: Wednesday, January 16, 2008 2:40 AM To: Patrick Farley; php-windows@xxxxxxxxxxxxx Subject: Re: Can't get MySQL extensions to load I have a similar issue. We copied a PHP installation that was successful on Windows 2000 to a 2003 server. Although it works fine on 2000, it won't load any of the extensions on 2003. I've checked the ..ini file and the extensions are definitely uncommented, the extension_dir setting is correct, I've included c:\php in the path. PHP works (as phpinfo() runs) but extensions don't load. A couple of things I've noted that are different on this server (in case it's related): - if I use cgi-win.exe, php pages won't load so have to use phpisapi5.dll - in phpinfo, the ini file path shows as C:\Windows instead of c:\php even though there is no php.ini file in that folder Can anyone help?? Regards, Bruce >>> "Patrick Farley" <patrick@xxxxxxxxxx> 9/12/2007 6:11:58 p.m. >>> Evening. I've installed the latest PHP using the zip files (not the installer) to my Windows 2003 machine with IIS. I have tested the installation with a phpinfo() and was successful. I installed Roundcube and when trying to connect to the site was greeted with an error about being unable to connect to the database. I rechecked my connection string and all seemed well. Figuring I'd come back to it later, I went to install Joomla and during the install process was told that Joomla is unable to connect to MySQL. I have checked and rechecked my php.ini file (though I may be missing something not obvious) PHP in general works. My system PATH is configured for C:\php and I have restarted several times I've even redownloaded the php zip files and compared the md5 to make sure it was not corrupt. MySQL is active and working on localhost for an email server without any issue. Have tried both mysql.dll and mysqli.dll I have searched Google with out any success. Is this something with PHP or my MySQL install? I'm out of ideas. Patrick -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php