> 백엔드 개발 > PHP 튜토리얼 > php-PHP发布到AZURE连不上AZURE BLOB

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

WBOY
풀어 주다: 2016-06-02 11:32:07
원래의
1283명이 탐색했습니다.

phpblobazure

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

<code>  <div id="content"> <div class="content-container"> <h3>HTTP Error 500.0 - Internal Server Error</h3> <h4>The page cannot be displayed because an internal server error has occurred.</h4> </div> <div class="content-container"> <fieldset>
<h4>Most likely causes:</h4> <ul>    <li>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.</li>    <li>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.</li>    <li>IIS was not able to process configuration for the Web site or application.</li>     <li>The authenticated user does not have permission to use this DLL.</li>   <li>The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.</li> </ul> </fieldset> </div> <div class="content-container"> <fieldset>
<h4>Things you can try:</h4> <ul>    <li>Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.</li>     <li>Check the event logs to see if any additional information was logged.</li>  <li>Verify the permissions for the DLL.</li>    <li>Install the .NET Extensibility feature if the request is mapped to a managed handler.</li>  <li>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 <a href="http://go.microsoft.com/fwlink/?LinkID=66439">here</a>. </li> </ul> </fieldset> </div> <div class="content-container"> <fieldset>
<h4>Detailed Error Information:</h4> <div id="details-left"> <table border="0" cellpadding="0" cellspacing="0"> <tr class="alt">
<th>Module</th>
<td>   FastCgiModule</td>
</tr> <tr>
<th>Notification</th>
<td>   ExecuteRequestHandler</td>
</tr> <tr class="alt">
<th>Handler</th>
<td>   PHP56_via_FastCGI</td>
</tr> <tr>
<th>Error Code</th>
<td>   0x00000000</td>
</tr> </table> </div> <div id="details-right"> <table border="0" cellpadding="0" cellspacing="0"> <tr class="alt">
<th>Requested URL</th>
<td>   http://**********</td>
</tr> <tr>
<th>Physical Path</th>
<td>   D:\home\site\wwwroot\index.php</td>
</tr> <tr class="alt">
<th>Logon Method</th>
<td>   Anonymous</td>
</tr> <tr>
<th>Logon User</th>
<td>   Anonymous</td>
</tr> </table> <div class="clear"></div> </div> </fieldset> </div> <div class="content-container"> <fieldset>
<h4>More Information:</h4> 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. <p><a href="http://go.microsoft.com/fwlink/?LinkID=62293&IIS70Error=500,0,0x00000000,9200">View more information »</a></p> <p>Microsoft Knowledge Base Articles:</p> </fieldset> </div> </div></code>
로그인 후 복사
관련 라벨:
원천:php.cn
본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿