The PHP 7 installer



How to use it

This installer genres an Apache’s project with PHP7 that is perfect as foundation of apps which uses Laravel, CakePHP, Symfony, etc. To use it you need to start a new project:

$ gorilla build my-project

And select PHP in the first selector.

Later you’ll have to put the domain name.

If you use Mac or Linux, at the end of the process you might need your admin password to change some files. If you use Window, you might need to load the console session as admin.

In a few seconds you’ll be able to access to your project through the browser. You’ll find the published folder of your project in my-project/application path



When the projects is already created you can test that a new container is created too for your app.

$docker ps

GorillaJS modifies the container’s name to use the domain name that you have chosen for your project, adding a prefix.

If your project uses the fool.local domain the container’s name of the app will be foo.local.



If you need to use databases in your project you can use the DB for PHP7 plugin. It gives you the chance to choose between three engines: MariaDB, PostgreSQL and MongoDB.


Libraries installation

To install new php libraries you have two options: the access to Docker container directly or the use of some GorillaJS plugins destinated to make easier this task: Composer and PEAR or Extra packages.

The NodeJS installer

The NodeJS template that comes as a default in GorillaJS uses the Express.js framework to start a server and return a response. This is optional, and once the application is running we can eliminate this server and use the application in any other way.


Why do you need to free the port 80? Can you make your own installers? Can you use GorillaJS in a remote server?