Hi everybody,
I'm desperately trying to get PHP 5.3 running on a Windows Server 2008 x64 SP2 (fully patched so far).
The first attempts were to click next until the PHP installer finished and have it setup the IIS fastcgi module. I got that working somehow by doing some modifications to the php.ini.
What did not work here were any modules. The configuration file pointed the extension dir to "C:\Program Files (x64)\PHP\extension", but when viewing a phpinfo() output it said "C:\PHP5". Well, I didn't get that one fixed so I thought maybe it didn't like spaces in its path.
I uninstalled it and installed it again to "C:\PHP". Same situation.
Uninstall again and installed to "C:\PHP5". -> Extensions are working now (when I do a command line output of phpinfo() ).
But opening a minimal php script via browser with this content:
<?php
phpinfo();
?>
I just get a 500 error. Even when I open the page from the webserver I don't get a more detailed output.
Filesystem permissions are set to give iusr read access.
I sticked to these manuals:
- http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-70
- http://www.trainsignaltraining.com/iis-7-install-fastcgi-php/2008-09-04/
So I took care of these settings:
- fastcgi.impersonate = 1
- cgi.fix_pathinfo=1
- cgi.force_redirect = 0
- open_basedir=d:\wwwroot
I have no idea what else to try. Google tells me almost all 500 errors seem to be fixed by the above settings.