Install the Windows Azure SDK for PHP with Windows Azure SDK 1.6 | Installer le SDK Windows Azure pour PHP avec le SDK Windows Azure 1.6

Before using Windows Azure with PHP, you will need the SDK for PHP. Instructions to install it are available here: https://azurephp.interoperabilitybridges.com/articles/setup-the-windows-azure-sdk-for-php, but this post was written before SDK 1.6 was available. Avant d’utiliser Windows Azure avec PHP, il faut le SDK pour PHP. Les instructions pour l’installer sont dans ce billet: https://azurephp.interoperabilitybridges.com/articles/setup-the-windows-azure-sdk-for-php, mais le billet a été écrit avant la sortie du SDK 1.6.
Here is an additional step to avoid errors like Voici donc un étape complémentaire qui permet d’éviter une erreur telle que

Error: Source: WshShell.RegRead
Description: Invalid root in registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\ServiceHosting\v1.0\Inst
allPath".

With the Windows Azure SDK 1.6, the install path is now in the following registry Avec le SDK 1.6, le chemin d’installation est maintenant dans la clef de registre suivante:

image

Go to the folder where you installed the Windows Azure SDK for PHP and change the following file: Aller dans le dossier où le SDK pour PHP a été installé et changer le fichier suivant:

(…)\AzurePhp\library\Microsoft\WindowsAzure\CommandLine\Package.php

replace remplacer

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\ServiceHosting\v1.0\InstallPath

by par

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\ServiceHosting\v1.6\InstallPath

image_thumb[2]

Smile

Benjamin