+ Reply to Thread
Results 1 to 6 of 6

Thread: HTTP Error 500 installing 1.15.0 on Windows Server 2008/IIS 7

Share/Bookmark
  1. #1
    Junior Member dogrover is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    1
    Rep Power
    2

    Default HTTP Error 500 installing 1.15.0 on Windows Server 2008/IIS 7

    Hi,

    I'm installing MediaWiki 1.15.0 in the following environment:
    • Windows Server 2008
    • IIS 7.0 (FastCGI enabled)
    • MySQL 5.1.35
    • PHP 5.2.9-2
    The standard phpinfo.php page returns a boat-load of PHP data, so I know that PHP is at least working.

    After I unpack MW 1.15.0 to C:\inetpubs\wwwroot\mwiki, I visit http://localhost/mwiki , and I get the page titled "MediaWiki 1.15.0 Installation". So, I fill out all fields and click the "Install MediaWiki" button.

    The next page says:
    "500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed."

    IIS server logs have this to say:
    "Faulting application php-cgi.exe, version 5.2.9.9, time stamp 0x49dda365, faulting module php5.dll, version 5.2.9.9, time stamp 0x49dda356, exception code 0xc0000005, fault offset 0x00009c8a, process id 0xbd4, application start time 0x01c9ebcde5cfef1c."

    I have PHP logging enabled, but it doesn't seem to get that far; the log file never shows up.

    I saw several threads about permissions on the "config" directory, so I opened it wide up: Full Control to Everyone. Still got the same error.

    Anyone seen this before, or have any ideas on what might be causing the problem?

    Thanks,

    Dan

  2. #2
    Junior Member maushana is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    3
    Rep Power
    2

    Default

    Hi Dan,

    I have the exact same setup as you but I'm using MediaWiki 1.14.0 and I get the same error. Some pages work but others I get "500 Internal Server Error...". For some pages if I just hit the refresh button on the browser then it works but then if you go back again it doesn't work. This only seems to happen for MediaWiki. I have other websites that are using PHP code and they work no problem. I've gone through and giving full permissions to everything and still get this error.

    Are you using Win 2k8 32bit or 64bit? I'm using the 32bit. It would be interesting to see if this happens in the 64bit version. I'm starting to think that there might be some issues with IIS7 32bit. Simply because I've already ran into some issues with other software not working in the 32bit but yet they work on the 64bit. I hope someone knows how to resolve this or a work around.

    Thank you,

    Mike

  3. #3
    Junior Member maushana is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    3
    Rep Power
    2

    Default

    Does anyone know how we can resolve this issue?

    Mike

  4. #4
    Junior Member maushana is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    3
    Rep Power
    2

    Default

    Has anyone been able to setup and run MediaWiki 1.14/1.15 on a Win 2008 IIS7 32bit successfully? Please, any help would be appreciated.

    Thank you,

    Mike

  5. #5
    Junior Member andrewdoull is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    2
    Rep Power
    1

    Default

    Its a permissions issue. I've successfully got past this screen by giving Everyone;Network Services;System accounts accounts full access to the entire IIS and MySQL directories.

    (Network Services and System are not included in the Everyone group FYI, which is why you need to include them in any attempt to mess with Windows security).

    Obviously you wouldn't run your Mediawiki set up this way - I'll have more of a play and see if I can get the permissions more granular.

    Andrew

  6. #6
    Junior Member andrewdoull is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    2
    Rep Power
    1

    Default

    It turns out that you just need to add permission for the IUSR user account to have write access to the config directory. The documentation that Microsoft provides saying you should add the IIS_IUSRS group is incorrect: it appears that this user account isn't a member of the group.

    (Thanks Process Monitor!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Ampersand in URL Win Server 2008 w/ IIS7
    By chrimila in forum Customizing MediaWiki
    Replies: 0
    Last Post: March 16th, 2009, 17:39
  2. Error while installing Apache HTTP server 2.2.11
    By Prajeesh in forum MediaWiki General Discussion
    Replies: 2
    Last Post: January 13th, 2009, 03:03
  3. Installing on Windows XP error
    By ronmiller in forum Installation
    Replies: 1
    Last Post: November 10th, 2008, 23:01
  4. installing 1.12.0 - Internal Server Error
    By banth in forum Installation
    Replies: 3
    Last Post: May 8th, 2008, 18:18
  5. Move wiki install from Linux server to Windows Server
    By rolltidega in forum Installation
    Replies: 1
    Last Post: August 15th, 2006, 06:07

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts