This blog teaches you how to deploy a simple PHP based REST microservice project on Oracle Application Container Cloud using Oracle Developer Cloud.
This post shows the essential capabilities for PHP projects management, build automation and streamlined deployment in the Oracle Cloud, using Developer Cloud Service and deploying to Application Container Cloud.
Tech Stack Usage
Eclipse: IDE for PHP development.
Grunt: Tool for building the PHP code archive for deployment.
Oracle Developer Cloud: For application lifecycle management.
Oracle Application Container Cloud: For deployment of the PHP based web service on container hosted by the cloud.
Setting up PHP and Oracle Cloud on Eclipse
Eclipse is a very popular IDE to which most of the developers from Java world are acquainted with. Eclipse caters to lot of other development environments other than Java. The same IDE can be used for our day to day PHP code development. To test the application locally you can install a cross platform web server such as XAMPP specific to the 32/64bit OS(Windows/Linux/Mac) being used. You will also need the following plugins in Eclipse:
- 1. PHP Development Tools (PDT): For developing PHP code in Eclipse.
- 2. Oracle Cloud Tools: For connecting to the Developer Cloud Service Instance
Note: These plugins can be downloaded from the Eclipse Marketplace. Below screen shots show the highlighted plugins which were installed for the PHP development and for connecting to Oracle Cloud.
Apart from these tools, you can also install cross platform web server platform such as XAMPP. It will enable us to test the PHP code that we develop on Eclipse locally, before pushing it to the Git repository of Oracle Developer Cloud Service. Below is link from where XAMPP can be downloaded. Choose the version based on the operating system and the system architecture (32/64 bit) to install upon. Read the complete article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.