I've been given a Laravel 3.2 app that is working on production to move over to an IIS 7.5 server. I've set the production php.ini so that it works with 5.4.37 and can't get past a 500 error so that I can troubleshoot what needs to be done to get it to run.
Setting display_errors on display-startup_errors = on and the MSIE to turn off friendly warnings on the server I finally get some feedback:
file_put_contents(C:\inetpub\wwwroot\HMarketing\storage\logs/2015-03-03.log): failed to open stream: Permission denied
It cannot write a log to larvel's log file. OK, googling I find that IIS uses a IIUSR role that should be given read writes.
I dig into Authentication for anonymous users and find it is set to "IUSR". That seems different than the MS help pages suggesting "IIUSR". However, this server is actively serving other production apps and checking other working apps' permissions I find they have the same "IUSR" set so perhaps there is an equivalent to IIUSR?
Being that I'm scrambling, learning IIS I'm at an impasse based on my Googles. What next step should I use to troubleshoot why I cannot get laravel to show its logs?
mcrypt is enabled
mb_string is enabled