The Azure Code Samples are currently available in English

Azure Storage: Getting Started with Azure Storage in PHP

Pedro Wood 提供
在 GitHub 上編輯

Samples documenting basic operations with Azure Queue storage services in PHP.

Running this sample

This sample can be run using either the Azure Storage Emulator (Windows) or by using your Azure Storage account name and key. Please update the config.php file with the appropriate properties.

To run the sample using the Storage Emulator: 1. Download and install the Azure Storage Emulator 2. Start the emulator (once only) by pressing the Start button or the Windows key and searching for it by typing "Azure Storage Emulator". Select it from the list of applications to start it. 3. Run the project.

To run the sample using the Storage Service 1. Open the config.rb file and set the config setting IS_EMULATED to false. Also configure the settings ACCOUNT_NAME and ACCOUNT_KEY with the account name and account key from your subscription. See for more information 3.Set breakpoints and run the project.

Deploy this sample

Either fork the sample to a local folder or download the zip file from

To get the source code of the SDK via git, type: git clone git:// cd .\storage-queue-php-getting-started

Minimum Requirements

PHP 5.5 or above To install PHP, please go to

More information

  • What is a Storage Account -
  • Getting Started with Queues -
  • Queue Service Concepts -
  • Queue Service REST API -
  • Storage Emulator -