• 技术文章 >后端开发 >php教程

    php-PHP发布到AZURE连不上AZURE BLOB

    2016-06-02 11:32:07原创578
    phpblobazure

    在本地Apache和IIS7上运行正常 放到AZURE上就异常。
    异常的代码:
    ServicesBuilder::getInstance()->createBlobService($constr);
    服务器上的error内容

      

    HTTP Error 500.0 - Internal Server Error

    The page cannot be displayed because an internal server error has occurred.

    Most likely causes:

    • IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
    • IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
    • IIS was not able to process configuration for the Web site or application.
    • The authenticated user does not have permission to use this DLL.
    • The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.

    Things you can try:

    • Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.
    • Check the event logs to see if any additional information was logged.
    • Verify the permissions for the DLL.
    • Install the .NET Extensibility feature if the request is mapped to a managed handler.
    • Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.

    Detailed Error Information:

    Module FastCgiModule
    Notification ExecuteRequestHandler
    Handler PHP56_via_FastCGI
    Error Code 0x00000000
    Requested URL http://**********
    Physical Path D:\home\site\wwwroot\index.php
    Logon Method Anonymous
    Logon User Anonymous

    More Information:

    This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error.

    View more information »

    Microsoft Knowledge Base Articles:

    声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。
    专题推荐:php blob azure
    上一篇:php-PHP的_GET数组是里面是空的 下一篇:php-初学PHP,想请教。。。
    PHP编程就业班

    相关文章推荐

    • PHP 安装配置教程大全(最新)• 详解win10下PHP的安装配置(以php5.6为例)• YII 的源码分析(3)• 检测旋钮所在行 • PHP5.4无法安装sphinx扩展,该怎么解决

    全部评论我要评论

  • 取消发布评论发送
  • 1/1

    PHP中文网