我试图运行它们使用Blob存储蔚蓝色的应用程序运行。 我试着用以下的样品套件: https://github.com/Interop-Bridges/Windows-Azure-Sample-Kit-4-PHP/tree/master/GuestBookUsingBlobs (我改变了存储账户,并在关键的index.php)Azure的应用程序(Blob存储)仅在localhost
所以我的问题是,我这个部署后,天青,我得到500内部服务器错误,但是在本地主机上它工作正常!
的哪些错误? 谢谢!
(一个简单的phpinfo()文件中的蔚蓝工作也没关系)
<?xml version="1.0"?>
<configuration>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
<httpErrors errorMode="Detailed" />
<asp scriptErrorSentToBrowser="true"/>
<defaultDocument>
<files>
<clear/>
<add value="index.php" />
</files>
</defaultDocument>
<staticContent>
<remove fileExtension=".svg" />
<remove fileExtension=".eot" />
<remove fileExtension=".woff" />
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
<mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
<mimeMap fileExtension=".woff" mimeType="application/x-woff" />
</staticContent>
</system.webServer>
<system.web>
<customErrors mode="Off"/>
<compilation debug="true"/>
</system.web>
</configuration>
改变的web.config文件上面
我做这个的部署:http://rhizohm.net/irhetoric/post/2011/04/18/How-To-Do-PHP-Deployment-To-Windows-Azure.aspx
你应该看看微软推出的Windows Azure官方PHP教程。他们展示了如何设置SDK,运行示例项目以及如何部署应用程序。 http://azurephp.interoperabilitybridges.com/tutorials –