Question

LYDoi on Tue, 17 Feb 2015 18:42:48


Dear Sirs,

We developed a PHP application. The website is loaded outside Azure and video and images is loaded in the Azure storage. In order to do that we used PHP Azure SDK. Wen we run our application in a local server and it works fine, but when we run alive SDK does not work. As sson as the application try to run SDK we end up getting a blanked page with no failure mesages.

Could you please advice possible causes that is working in the local server but not in the alive?

Thanks & Regards,

Luiz Doi


Sponsored



Replies

Will Shao on Wed, 18 Feb 2015 07:49:53


Hi Luiz,

According to your description, I am not sure which project did you use. If you create the cloud service using Azure SDK for PHP, you need publish it on Azure cloud service not other servers (http://azure.microsoft.com/en-us/documentation/articles/cloud-services-php-create-web-role/ ). If you create a website and Azure SDK for PHP, you need make sure your published server has the same environment as your local server. Other methods, you can use Azure REST API to upload and download the images or videos into Azure blob(https://msdn.microsoft.com/en-us/library/azure/dd135733.aspx ).

Regards,

Will