I have an App Service on Microsoft Azure that uses Laravel 5.2 and PHP 7. The problem that I have is that sometimes while I'm browsing the site I get the error:
this page cannot be displayed because an internal server error has occurred
This happens randomly but when it happens it blocks the route, for example I'm browsing without problems the address http://ift.tt/2gGXCyS then I click again and it throws the error.
To get rid of the error I have to restart the App Service and it will work fine so I think that it has something to do with the Views Cache in the app.
Aside from setting the Laravel .env
I haven't done any configurations.
Using phpinfo I found that the site appears to be running on FastCGI, but I'm not really sure about that, since the error shown appears to be managed by IIS.
My questions are:
-
Any ideas on what may be causing the problem?
-
How can I restart FastCGI/IIS service without restarting the App Service, for example in Apache over Linux would be
service httpd restart
.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire