ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

CI on Windows IIS7 FASTCGI PHP Windows 500 internal error

January 16, 2011 9:39pm

Subscribe [2]
  • #1 / Jan 16, 2011 9:39pm

    flyclassic

    1 posts

    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 :

    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?

  • #2 / Feb 07, 2011 11:19am

    shackonarock

    3 posts

    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.

  • #3 / Feb 07, 2011 11:27am

    shackonarock

    3 posts

    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.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases