deploying Opigno on azure website

若如初见. 提交于 2019-12-12 06:50:57

问题


I have created Azure website ,and upload all OPIGNO files to that website via FTP,so when i am trying to access the index.php for OPIGNO project ,it returns server error 500????


回答1:


Usually, when there are anything went wrong, the server will return error 500. And usually a framework application occur 500 error after deploying on Azure Web Apps, maybe there are something configuration errors.

Also, you may need to turn the display_errors setting on to display errors for troubleshooting. You can follow the below steps to change the configuration:

1, Add a .user.ini file to your root directory.

2,add display_errors=On in this file

3, display_errors=On

4, Restart the web app.

You can refer to https://azure.microsoft.com/en-us/documentation/articles/web-sites-php-configure/#how-to-change-the-built-in-php-configurations for more information.



来源:https://stackoverflow.com/questions/34128799/deploying-opigno-on-azure-website

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!