PHP needs to know where the extensions are located, and when you make changes to php.ini you have to restart the web server in order for the changes to take place. Under ISAPI the php.ini file is only read during startup and not on each page reqyues as is the case with CGI. Getting php to know where the extensions are located takes the folowing steps. 1) For ISAPI installes place the php.ini file in the windows (or winnt) directory. 2) edit php.ini to include the line extension_dir = 'full/path/to/php' 3) restart the web server For CGI and FastCGI the php.ini file can be placed in the php directory, as each PHP-process is launched from the folder and know the location of the files. - Frank > Frank, > That looks good on paper, but... I am loading the extension from php.ini as > you describe. > When I run the site with php-cgi.exe, running phpinfo() shows me that gd is > installed. > When I run the site with php5isapi.dll and then run phpinfo() it doesn't > appear to be loaded. > > I have copied the php_gd2.dll into the main PHP 5 install directory, but > havn't bothered with copying it into the windows directory, as I don't > believe that this should solve my problem. > > Do you have any other ideas? > > > "Frank M. Kromann" <frank@xxxxxxxxxxxx> wrote in message > news:10899213191960000@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > > When you use ISAPI you can only load extensions from php.ini with the line > > > > extension=php_gd2.dll > > > > When using CGI, FastCGI or CLI you can load extensions from the script > > with code like > > > > dl("php_gd2.dll"); > > > > - Frank > > > > > I am using w2k3 with iis6 and all of the reported "hotfixes". > > > I have just installed PHP5 and have successfully configured everything > > to > > > work correctly using the php-cgi.exe configuration. > > > However, I would like to use the php5isapi.dll configuration. The only > > > problem I seem to have is getting the php_gd2.dll extension to load. > > The > > > ISAPI configuration works... It just needs to know about the gd > > extension. > > > Does anybody know how to get the ISAPI configured to understand the gd > > > extension? > > > > > > -- > > > 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