Download the APS development tools for your development environment.
Download PHP runtime to install it on your local development computer and on hosts used as application endpoints.
PHP runtime has 4 branches, 2.0, 2.1, 2.2, and 2.3 for different versions of the platform:
In APS sanboxes provisioned by Odin, the PHP runtime is already installed on hosts used for application endpoints. For example, if the base domain of your sandbox is a.isv1.apsdemo.org, the endpoint host is endpoint.a.isv1.apsdemo.org.
Install PHP runtime as described in the Installation section.