I have been struggling with configuration issues for several days while migrating my web server from Linux to Windows and would appreciate some help. My Windows development box is Windows XP SP3, IIS 5.1, SQL Server Express 2008, PHP 5.2.11.
Originally for the .PHP application mapping, I incorrectly chose php-cgi.exe. This caused SQL Server connections to take several seconds. Later I discovered that the recommended mapping for .PHP is fcgiext.dll. Once I made this change, all SQL Server connection performance issues disappeared.
However, my web page has javascript that should execute while the page is loading. I found that choosing fcgiext.dll instead of php-cgi.exe causes all javascript to execute after the page loads even if the javascript is in the head section. It makes no difference if the javascript is embedded in the html or in an external file.
Can anyone tell me how to get javascript to execute while the page loads with fcgiext.dll?
Thanks,
Mike