|
1 | 1 | centos-ssh-apache-php-fcgi |
2 | 2 | ========================== |
3 | 3 |
|
4 | | -Docker Image including CentOS-6 6.10 x86_64, Apache 2.2, PHP-CGI 5.3 (FastCGI), PHP memcached 1.0, PHP APC 3.1. |
| 4 | +Docker Image including: |
| 5 | +- CentOS-6 6.10 x86_64, Apache 2.2, PHP-CGI 5.3 (FastCGI), PHP memcached 1.0, PHP APC 3.1. |
| 6 | +- CentOS-7 7.5.1804 x86_64, Apache 2.4, PHP-CGI 5.4 (FastCGI), PHP memcached 2.2, Zend Opcache 7.0. |
5 | 7 |
|
6 | 8 | Apache PHP web server, loading only a minimal set of Apache modules by default. Supports custom configuration via environment variables. |
7 | 9 |
|
8 | 10 | ## Overview & links |
9 | 11 |
|
10 | | -The latest CentOS-6 based release can be pulled from the centos-6 Docker tag. For a specific release tag the convention is `centos-6-1.11.0` or `1.11.0` for the [1.11.0](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/tree/1.11.0) release tag. |
11 | | - |
| 12 | +- `centos-7`, `centos-7-2.0.0`, `2.0.0` [(centos-7/Dockerfile)](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/centos-7/Dockerfile) |
12 | 13 | - `centos-6`, `centos-6-1.11.0`, `1.11.0` [(centos-6/Dockerfile)](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/centos-6/Dockerfile) |
13 | 14 |
|
| 15 | +#### centos-6 |
| 16 | + |
| 17 | +The latest CentOS-6 based release can be pulled from the centos-6 Docker tag. It is recommended to select a specific release tag - the convention is `centos-6-1.11.0` or `1.11.0` for the [1.11.0](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/tree/1.11.0) release tag. |
| 18 | + |
| 19 | +#### centos-7 |
| 20 | + |
| 21 | +The latest CentOS-7 based release can be pulled from the centos-7 Docker tag. It is recommended to select a specific release tag - the convention is `centos-7-2.0.0` or `2.0.0` for the [2.0.0](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/tree/2.0.0) release tag. |
| 22 | + |
14 | 23 | This build of [Apache](https://httpd.apache.org/), (httpd CentOS package), uses the [mod_fcgid](https://httpd.apache.org/mod_fcgid/) module to run [PHP](http://php.net/) as a [FastCGI](http://www.fastcgi.com/) process. |
15 | 24 |
|
16 | 25 | Included in the build are the [SCL](https://www.softwarecollections.org/), [EPEL](http://fedoraproject.org/wiki/EPEL) and [IUS](https://ius.io) repositories. Installed packages include [OpenSSH](http://www.openssh.com/portable.html) secure shell, [vim-minimal](http://www.vim.org/), [elinks](http://elinks.or.cz) (for fullstatus support), PHP [APC](http://pecl.php.net/package/APC), PHP [Memcached](http://pecl.php.net/package/memcached) are installed along with python-setuptools, [supervisor](http://supervisord.org/) and [supervisor-stdout](https://github.com/coderanger/supervisor-stdout). |
@@ -65,7 +74,8 @@ On first run, the bootstrap script, ([/usr/sbin/httpd-bootstrap](https://github. |
65 | 74 | The `apachectl` command can be accessed as follows. |
66 | 75 |
|
67 | 76 | ``` |
68 | | -$ docker exec -it apache-php.pool-1.1.1 apachectl -h |
| 77 | +$ docker exec -it apache-php.pool-1.1.1 \ |
| 78 | + bash -c "apachectl -h" |
69 | 79 | ``` |
70 | 80 |
|
71 | 81 | ## Instructions |
|
0 commit comments