Azure App ServicesPHP is frequently used on Azure App Services (aka Microsoft Azure, Windows Azure, Azure Web Apps). Azure App Services manages pools of Windows Web Servers to host your web application, as an alternative to managing your own web server on your own Azure Compute VMs or other servers. PHP is already enabled for your Azure App Services web site automatically. In the Azure Portal, select your web site, and you can choose which version of PHP to use. You may want to choose a newer version than the default. As such, PHP and extensions will run on Azure App Services just as they will on other Windows servers. However, the management interface for Azure App Services is different:
There is also a PHP SDK for programmatically using many Azure Services from your PHP code. See » Azure SDK for PHP. For more information, see » Azure PHP Developer Center WinCacheWinCache is enabled by default on Azure App Services and it is recommended that you leave it enabled. If you install your own build of PHP, you should enable WinCache on that too. Custom PHP BuildYou may upload your own PHP build to your D:\Home (C:\ is NOT writable). Then in the Azure Portal, set SCRIPT_PROCESSOR for .php to the absolute path of the php-cgi.exe file in your build. |