This is a basic Docker environment for PHP development, based on akeneo/php.
It provides a preconfigured Apache (2.4) web server with mod_php
.
The environment comes with some PHP extensions: apcu, mcrypt, intl, mysql, curl, gd, mongo, soap, xml, zip, and xdebug (this last one is deactivated by default, run phpenmod xdebug
and restart Apache to enable it).
This image does not contain Akeneo PIM.
php-7.1
,latest
(Dockerfile): The environment comes with Debian 9 (Stretch) with PHP 7.1 from Sury repositoryphp-7.0
(Dockerfile): The environment comes with Debian 9 (Stretch) with native PHP 7.0php-5.6
(Dockerfile): The environment comes with Debian 8 (Jessie) with native PHP 5.6
You can directly pull this image from Docker hub by running:
$ docker run --name akeneo-apache-php -p 8080:80 -d akeneo/apache-php
Access the URL localhost:8080
with your web browser to check that the container works.
Clone the repository, go inside the created folder, and build the docker image:
$ docker build -t akeneo-apache-php .
Then you can run a container like this:
$ docker run --name akeneo-apache-php -p 8080:80 -d akeneo-apache-php
Full documentation is accessible here
This repository is under the MIT license. See the complete license in the LICENSE file.