Muut
October 14, 2015, 3:08pm
1
I am trying to get a skeleton Grav working on IIS7. I have installed PHP for IIS (v5.3) and confirmed it is working via info.php, but when I load the site, I just get a server 500 error.
I haven’t been able to find anything in the help that seems to apply.
Any ideas?
Muut
October 14, 2015, 3:32pm
2
Did you change your ThreadStackSize
per the documentation on learn.getgrav.org as it’s the most likely culprit.
Muut
October 14, 2015, 4:25pm
3
This only appears to relate to Apache. How can you edit the threadstacksize in IIS?
Muut
October 14, 2015, 5:18pm
4
Ah sorry didn’t catch that, probably is not that then. I will point some people who use IIS to this thread, maybe they have some insights.
Muut
October 14, 2015, 5:53pm
5
Hello! mwigss I can try to help you
Muut
October 14, 2015, 5:55pm
6
first off. do you have IIS URL Rewrite module installed?
Muut
October 14, 2015, 6:25pm
7
Thanks. I installed PHP via the Microsoft Web Platform Installer, and it installed URL Rewrite Module 2
Muut
October 14, 2015, 6:28pm
8
Okay! Did you by chance install grav using git or by downloading the zip from getgrav.org ?
Muut
October 14, 2015, 6:30pm
9
I downloaded a skeleton (grav-skeleton-striped-site-v1.0.2.zip)
Muut
October 14, 2015, 6:34pm
10
alright. I’ll see if I cannot replicate the error.
Muut
October 14, 2015, 6:40pm
11
I presume you are using php php 5.3 (unless you changed which version you are using)
Muut
October 14, 2015, 6:40pm
12
IIS defaults to installing 5.3
Muut
October 14, 2015, 6:42pm
14
alright. Try installing php 5.6
Muut
October 14, 2015, 7:00pm
15
Any tips on doing that? I am now getting a 500 error when loading info.php. It complains that “The FastCGI process exited unexpectedly”
Muut
October 14, 2015, 7:08pm
16
Looks like i needed to install this: http://www.microsoft.com/en-us/download/details.aspx?id=30679
Did that and now it works!
Thanks for the pointers
Muut
October 14, 2015, 8:44pm
18
Thanks for finding that. I was unaware of that. We’ll be sure to document this as well. (Sorry to have disappeared like that but high school comes first).