Public Repository

Last pushed: 9 days ago
Short Description
Fully functional lamp for all projects
Full Description

ddkits/lamp:latest

PHP 5.6 / NGINX on APACHE 2.4 / Works with all CMSs .

...
&& pecl install imagick \
&& pecl search xdebug \
&& pecl install xdebug-beta \

...

&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
&& curl -s https://getcomposer.org/installer | php \
&& mv composer.phar /usr/local/bin/composer \
&& composer global require drush/drush:8.* \
...

Expose ports

EXPOSE 80

WORKDIR /var/www/html

apache2 -v

Server version: Apache/2.4.10 (Debian)
Server built: Feb 24 2017 18:40:28

nginx -v

nginx version: nginx/1.6.2

php -v

PHP 5.6.30 (cli) (built: May 13 2017 01:21:10)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with XCache v3.2.0, Copyright (c) 2005-2014, by mOo
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
with XCache Cacher v3.2.0, Copyright (c) 2005-2014, by mOo

Server version: Apache/2.4.10 (Debian)
Server built: Jun 20 2017 19:11:58

ddkits/lamp:7

PHP 7.1.6 on APACHE 2.4 / Works with all CMSs

Installing shared extensions: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/
Installing PHP CLI binary: /usr/local/php7/bin/
Installing PHP CLI man page: /usr/local/php7/php/man/man1/
Installing PHP FPM binary: /usr/local/php7/sbin/
Installing PHP FPM defconfig: /usr/local/php7/etc/
Installing PHP FPM man page: /usr/local/php7/php/man/man8/
Installing PHP FPM status page: /usr/local/php7/php/php/fpm/
Installing phpdbg binary: /usr/local/php7/bin/
Installing phpdbg man page: /usr/local/php7/php/man/man1/
Installing PHP CGI binary: /usr/local/php7/bin/
Installing PHP CGI man page: /usr/local/php7/php/man/man1/
Installing build environment: /usr/local/php7/lib/php/build/
Installing header files: /usr/local/php7/include/php/
Installing helper programs: /usr/local/php7/bin/

...

PHP 7.1.6 (cli) (built: Jun 23 2017 17:21:05) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.1.6, Copyright (c) 1999-2017, by Zend Technologies

Server version: Apache/2.4.10 (Debian)
Server built: Jun 20 2017 19:11:58

All PHP configuration files are stored under /usr/local/php7:

/usr/local/php7/lib/php.ini
/usr/local/php7/etc/php-fpm.conf
/usr/local/php7/etc/php-fpm.d/www.conf
/usr/local/php7/etc/conf.d/modules.ini
While the Debian init script is added to:

/etc/init.d/php7-fpm

Fully functional lamp for all projects

Docker Pull Command
Owner
ddkits

Comments (0)