Azure Cloud Service PHP Pear Packages -


i following tutorial http://azure.microsoft.com/en-gb/documentation/articles/storage-php-how-to-use-blobs/ on ussing azure php sdk access azure storage blobs.

i need read , write these blobs live cloud service running php app. says sdk dependent on pear packages , should installed using "pear package installer"

the php client libraries azure have dependency on http_request2, mail_mime, , mail_mimedecode pear packages. recommended way resolve these dependencies install these packages using pear package manager.

this , on dev server, install pear , install packages. once app packaged , pushed azure production cloud service, doesn't contain pear or of packages. php installed on cloud service when spun using servicedefinition.csdef startup tasks. every new instance has php installed on startup.

so how pear , these packages on cloud instance? have googled , cannot find explains using pear on cloud instances, yet sdk documentation says needed?!?

am misunderstanding something?

while pear package manager has been mainstay in days gone by, think it's rapidly being replaced composer , like.

you don't have install using pear tool, however. is package manager. can download pear libraries individually , place them in common directory http://pear.php.net/package/pear/download

the caveat here 100% manual , on update packages pear updates few , far between. download each package , set base include directory.

set_include_path('/path/to/pear'); 

Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -