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

查看:32
本文介绍了在 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

3、display_errors=开启

3, display_errors=On

4、重启网络应用.

您可以参考https://azure.microsoft.com/en-us/documentation/articles/web-sites-php-configure/#how-to-change-the-built-in-php-configurations 了解更多信息.

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天全站免登陆