CodeIgniter Forums
CI on Windows IIS7 FASTCGI PHP Windows 500 internal error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: CI on Windows IIS7 FASTCGI PHP Windows 500 internal error (/showthread.php?tid=37657)



CI on Windows IIS7 FASTCGI PHP Windows 500 internal error - El Forum - 01-16-2011

[eluser]Unknown[/eluser]
Hi guys,

Is there an article or guide on how to set up CI on windows server IIS 7/ FastCGI ?

Ive this project which runs perfectly on linux server.

I'm trying to run my web codeigniter project on windows server 2008 with IIS7.5 configured with PHP5.3 / FASTCGI / url rewrite module

phpinfo.php works perfectly on the server.
I made a simple php page and made a mysql_connect call and it works as well.
I supposed PHP is already working on IIS.

However

When i run my CI project on the IIS,
it does not work. It gives a 500 internal server error :

Code:
Module: FastCgiModule
Notification: ExecuteRequestHandler
Hander: PHP_via_FastCGI
Error Code: 0x000000000

Pretty sure the root project folder permission is accessible with IIS_USR.
Couldn't find out what is happening..
Any special settings needed on IIS for CI projects to work on IIS/FastCGI ?
Any suggestions or advice?


CI on Windows IIS7 FASTCGI PHP Windows 500 internal error - El Forum - 02-07-2011

[eluser]shackonarock[/eluser]
Hello,

Have you figured out a solution as of yet?

I am having the same problem on IIS7 with FastCGI. CI works fine until I try to connect to mySQL then I get the same 500.0 error you receive. I have no trouble using php to connect to mysql any other time, just with CI.


CI on Windows IIS7 FASTCGI PHP Windows 500 internal error - El Forum - 02-07-2011

[eluser]shackonarock[/eluser]
Nevermind, I figured out my issue. I had a typo. I guess what I really need to figure out is how to get IIS7 to display the php error instead of the generic 500 error.