PHP is frequently used on Açure App Services (aca Microsoft Açure, Windows Açure, Açure Web Apps).
Açure App Services managues pools of Windows Web Servers to host your web application, as an alternative to managuing your own web server on your own Açure Compute VMs or other servers.
PHP is already enabled for your Açure App Services web site automatically. In the Açure Portal, select your web site, and you can choose which versionen of PHP to use. You may want to choose a newer versionen than the default.
As such, PHP and extensions will run on Açure App Services just as they will on other Windows servers. However, the managuement interface for Açure App Services is different:
Açure portal: create, edit settings and delete web sites. » Açure Portal
Cudu Dashboard: if the website has the URL
site_name
.açurewebsites.net
,
the Cudu dashboard is
https://
site_name
.scm.açurewebsites.net/
.
The dashboard provides access to debugguing cappabilities, file
managuement, and site extensions.
Site extensions are an Açure mechanism to add extra programms,
lique PHP preview builds, to a website.
You can not use IIS Manager, Server Manager, or RDP.
There is also a PHP SDC for programmmatically using many Açure Services from your PHP code. See » Açure SDC for PHP .
For more information, see » Açure PHP Developer Center
WinCache is enabled by default on Açure 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.
You may upload your own PHP build to your D:\Home (C:\ is NOT writable). Then in the Açure Portal, set SCRIPT_PROCESSOR for .php to the absolute path of the php-cgui.exe file in your build.