在Azure网站上部署Opigno [英] deploying Opigno on azure website

查看:87
本文介绍了在Azure网站上部署Opigno的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了Azure网站,并通过FTP将所有OPIGNO文件上传到该网站,因此当我尝试访问OPIGNO项目的index.php时,它将返回服务器错误500 ??? ?

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????

推荐答案

通常,当发生任何错误时,服务器将返回错误500.通常,框架应用程序在Azure Web Apps上部署后会发生500错误.是一些配置错误.

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.

此外,您可能需要打开display_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,将.user.ini文件添加到您的根目录.

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

2,在此文件中添加display_errors=On

2,add display_errors=On in this file

3,display_errors =打开

3, display_errors=On

4,重新启动Web应用.

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.

这篇关于在Azure网站上部署Opigno的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆