You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 2, 2024. It is now read-only.
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.
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.1` or `1.11.1` for the [1.11.1](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/tree/1.11.1) 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.1` or `2.0.1` for the [2.0.1](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/tree/2.0.1) release tag.
13
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
@@ -38,7 +47,7 @@ $ docker run -d \
38
47
--name apache-php.pool-1.1.1 \
39
48
-p 8080:80 \
40
49
-e "APACHE_SERVER_NAME=app-1.local" \
41
-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
50
+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
42
51
```
43
52
44
53
Now point your browser to `http://{docker-host}:8080` where `{docker-host}` is the host name of your docker server and, if all went well, you should see the "Hello, world!" page.
@@ -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.
0 commit comments