首頁  >  文章  >  後端開發  >  php-PHP发布到AZURE连不上AZURE BLOB

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

WBOY
WBOY原創
2016-06-02 11:32:071266瀏覽

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>
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn