App42 PaaS enables you to deploy Apps of multiple languages and frameworks like Java, PHP, Node.js, Ruby, Grails and so on. Today I would like to take you through how to deploy your PHP application on App42 PaaS platform using App42 PaaS Management Console as well App42 Client (a command line tool). Using App42 PaaS solution, you can easily deploy your PHP applications without going through any server-side hassles. All you need is to upload your application on App42 PaaS platform and within minutes your application will be ready-to-use.
To get you started, I will use a PHP sample application as an example to show you how to deploy it on App42 PaaS platform.
Prerequisites :
Setting up infrastructure for PHP :
To setup infrastructure for your PHP application, you have to run the ‘app42 setupInfra‘ command and choose from the relevant options to get your infrastructure ready.
Using App42 PaaS Client –
Using App42 PaaS HQ Console-
You have successfully setup your PHP environment on App42 PaaS platform. Now you can access your application URL. For ease, we have already deployed a demo application on your infrastructure. You can also deploy your PHP application on App42 PaaS from binary or by using Git.
Deploying PHP application from Git:
You can deploy your application using your public Git repository URL. All you have to do is to push your code in the master branch. You can also deploy from your private Git repository URL, for that you have to give access to App42 PaaS user in your Git project.
Using App42 PaaS Client-
Using App42 PaaS HQ Console-
Deploying PHP application from binary:
You can also deploy your application using binary. App42 PaaS supports (.zip, .tar.gz, .gz) binary extensions. You can use any of these to deploy your application on App42 PaaS.
Using App42 PaaS Client-
Using App42 PaaS HQ Console-
In this blog, I have explained how to deploy a sample PHP application on App42 PaaS platform. Similarly, you can also deploy your application on App42 PaaS platform and let your User experience the seamless flow of your application.
If you have any questions or need any further assistance, please feel free to write us at support@shephertz.com
Leave A Reply