WARNING: The PHP integration is an example implementation and is unsupported.
The Alfresco PHP API used is identical to that provided in the PHP library, so common scripts can be used in either environment.
With additional configuration once the AMP is installed, it is possible to allow the application server to host PHP applications directly. PHP application hosted in this manner will also have access to the Alfresco PHP API. See Enabling Alfresco PHP Server for more details.
Installing the PHP AMP
Use the MMT to install the PHP AMP into the selected WAR file
Restart the Alfresco repository with the updated WAR
Checking the PHP AMP Installation
Navigate into the data dictionary and then within the presentation templates space. You should see example .php templates present.
Navigate into the data dictionary and then within the scripts space. You should see example .php scripts present.