+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 25
Windows Server 2012 Thread, IIS 8 HTTP 500 FastCGI problem in Technical; Hi, We have an IIS 8 server it has PHP 5.4.14 installed. On our moodle site we are getting http ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,846
    Thank Post
    877
    Thanked 1,680 Times in 1,460 Posts
    Blog Entries
    12
    Rep Power
    444

    IIS 8 HTTP 500 FastCGI problem

    Hi,

    We have an IIS 8 server it has PHP 5.4.14 installed. On our moodle site we are getting http 500 errors. I only get them when loading the odd image. It doesn't make the website unusable. Sometimes everything works fine. Looking at the failed request log this is what i am getting. I have done some google but not found much. Does anyone have any thoughts please?

    Thanks
    Attached Images Attached Images
    Last edited by FN-GM; 16th July 2013 at 10:34 AM.

  2. #2
    InterwebsGuy's Avatar
    Join Date
    Jan 2011
    Posts
    221
    Thank Post
    57
    Thanked 21 Times in 21 Posts
    Rep Power
    11
    Quote Originally Posted by FN-GM View Post
    Hi,

    We have an IIS 8 server it has PHP 5.4.14 installed. On our moodle site we are getting http 500 errors. I only get them when loading the odd image. It doesn't make the website unusable. Sometimes everything works fine. Looking at the failed request log this is what i am getting. I have done some google but not found much. Does anyone have any thoughts please?

    Thanks
    I had all sorts of issues with Moodle on PHP 5.4.x - the newer builds have been getting better [of Moodle] but I think there is still a fair bit of PHP 5.4.x incompatibility in it. I have reverted to PHP 5.3.x for now.

  3. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,846
    Thank Post
    877
    Thanked 1,680 Times in 1,460 Posts
    Blog Entries
    12
    Rep Power
    444
    Ok thanks, does anyone know how i change the PHP version in IIS? I do have 5.3 installed.

    Thanks

  4. #4
    InterwebsGuy's Avatar
    Join Date
    Jan 2011
    Posts
    221
    Thank Post
    57
    Thanked 21 Times in 21 Posts
    Rep Power
    11
    Quote Originally Posted by FN-GM View Post
    Ok thanks, does anyone know how i change the PHP version in IIS? I do have 5.3 installed.

    Thanks
    I have in the past used this extension: PHP Manager for IIS - Home
    It makes it a little simpler to manage the PHP INI file, but it also allows you to register/change the PHP version running. Of course you can do it by messing around with other settings directly within IIS, but this extension works pretty well.

  5. #5

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,846
    Thank Post
    877
    Thanked 1,680 Times in 1,460 Posts
    Blog Entries
    12
    Rep Power
    444
    That's for IIS 7 i am on 8

  6. #6
    InterwebsGuy's Avatar
    Join Date
    Jan 2011
    Posts
    221
    Thank Post
    57
    Thanked 21 Times in 21 Posts
    Rep Power
    11
    Quote Originally Posted by FN-GM View Post
    That's for IIS 7 i am on 8
    I have it on IIS8, IRC the latest build of it works with IIS8 without any issues. There is something about it on the website/forums/support.

  7. #7

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,846
    Thank Post
    877
    Thanked 1,680 Times in 1,460 Posts
    Blog Entries
    12
    Rep Power
    444
    Got it install.

    I am now on PHP 5.3.24 and its still broken Any ideas please?

  8. #8
    InterwebsGuy's Avatar
    Join Date
    Jan 2011
    Posts
    221
    Thank Post
    57
    Thanked 21 Times in 21 Posts
    Rep Power
    11
    Quote Originally Posted by FN-GM View Post
    Got it install.

    I am now on PHP 5.3.24 and its still broken Any ideas please?
    Eek - probably not then.

    My other ideas would be: 1) Do you have any URL rewriting going on? I had an issue with SCORM content at one stage, due to an old rewrite rule adjusting the path to the files and 2) The Slash Arguments option in Moodle, Admin->Server->HTTP, have you tried that enabled and disabled?

    However, re those last two points, if they were the issue, I'd have thought they would be affecting all other images within Moodle. But I guess it can't hurt to throw it out there as a suggestion can it?

  9. #9

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,846
    Thank Post
    877
    Thanked 1,680 Times in 1,460 Posts
    Blog Entries
    12
    Rep Power
    444
    1. Yes got one to redirect to https. I have removed that and i still get it. (i think)
    2. Seems to make no difference.

  10. #10
    InterwebsGuy's Avatar
    Join Date
    Jan 2011
    Posts
    221
    Thank Post
    57
    Thanked 21 Times in 21 Posts
    Rep Power
    11
    Quote Originally Posted by FN-GM View Post
    1. Yes got one to redirect to https. I have removed that and i still get it. (i think)
    2. Seems to make no difference.
    I think your redirection will probably be okay then, I have a similar one myself. I don't suppose it is trying to load an image from an unsecured connection/location and that image is then being blocked by the browser?

    Apart from that, I am totally out of ideas buddy.

  11. #11

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,846
    Thank Post
    877
    Thanked 1,680 Times in 1,460 Posts
    Blog Entries
    12
    Rep Power
    444
    Thanks anyway. Anyone else got any ideas please? @ZeroHour maybe

    EDIT: Interestingly enough, FireFox always seems to load images properly.
    Last edited by FN-GM; 22nd July 2013 at 10:28 PM.

  12. #12
    penfold_99's Avatar
    Join Date
    Feb 2008
    Location
    East Sussex
    Posts
    929
    Thank Post
    56
    Thanked 162 Times in 114 Posts
    Rep Power
    67
    What does your php error.log file say? Its normal found in C:\windows\temp.

  13. #13

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,846
    Thank Post
    877
    Thanked 1,680 Times in 1,460 Posts
    Blog Entries
    12
    Rep Power
    444
    There is no file called error.log in that folder.

    Thanks

  14. #14
    penfold_99's Avatar
    Join Date
    Feb 2008
    Location
    East Sussex
    Posts
    929
    Thank Post
    56
    Thanked 162 Times in 114 Posts
    Rep Power
    67
    Quote Originally Posted by FN-GM View Post
    There is no file called error.log in that folder.

    Thanks
    Have a look in you php.ini file and see where the error log is being saved to.

  15. #15

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,846
    Thank Post
    877
    Thanked 1,680 Times in 1,460 Posts
    Blog Entries
    12
    Rep Power
    444
    Log attached

    Thanks for the help
    Attached Files Attached Files

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Smartboard 500 series Problems
    By witch in forum Hardware
    Replies: 1
    Last Post: 27th May 2011, 11:51 AM
  2. IIS problems http to https redirection
    By cheredenine in forum Internet Related/Filtering/Firewall
    Replies: 7
    Last Post: 27th February 2009, 05:14 PM
  3. IIS 6 Problem - HELP
    By Nij.UK in forum Windows
    Replies: 0
    Last Post: 7th February 2007, 12:01 PM
  4. IE6 https problem
    By Spongor in forum Windows
    Replies: 7
    Last Post: 2nd November 2006, 09:25 AM
  5. Liberum problems on IIS
    By OverWorked in forum Windows
    Replies: 8
    Last Post: 31st March 2006, 12:34 PM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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