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
7
8
8
## Overview & links
9
9
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.10.6` or `1.10.6` for the [1.10.6](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/tree/1.10.6) release tag.
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.
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
15
@@ -38,7 +38,7 @@ $ docker run -d \
38
38
--name apache-php.pool-1.1.1 \
39
39
-p 8080:80 \
40
40
-e "APACHE_SERVER_NAME=app-1.local" \
41
-
jdeathe/centos-ssh-apache-php-fcgi:1.10.6
41
+
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
42
42
```
43
43
44
44
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.
@@ -87,10 +87,10 @@ $ docker run \
87
87
--volume /:/media/root \
88
88
--env BASH_ENV="" \
89
89
--env ENV="" \
90
-
jdeathe/centos-ssh-apache-php-fcgi:1.10.6 \
90
+
jdeathe/centos-ssh-apache-php-fcgi:1.11.0 \
91
91
/usr/sbin/scmi install \
92
92
--chroot=/media/root \
93
-
--tag=1.10.6 \
93
+
--tag=1.11.0 \
94
94
--name=apache-php.pool-1.1.1
95
95
```
96
96
@@ -105,10 +105,10 @@ $ docker run \
105
105
--volume /:/media/root \
106
106
--env BASH_ENV="" \
107
107
--env ENV="" \
108
-
jdeathe/centos-ssh-apache-php-fcgi:1.10.6 \
108
+
jdeathe/centos-ssh-apache-php-fcgi:1.11.0 \
109
109
/usr/sbin/scmi uninstall \
110
110
--chroot=/media/root \
111
-
--tag=1.10.6 \
111
+
--tag=1.11.0 \
112
112
--name=apache-php.pool-1.1.1
113
113
```
114
114
@@ -123,10 +123,10 @@ $ docker run \
123
123
--volume /:/media/root \
124
124
--env BASH_ENV="" \
125
125
--env ENV="" \
126
-
jdeathe/centos-ssh-apache-php-fcgi:1.10.6 \
126
+
jdeathe/centos-ssh-apache-php-fcgi:1.11.0 \
127
127
/usr/sbin/scmi install \
128
128
--chroot=/media/root \
129
-
--tag=1.10.6 \
129
+
--tag=1.11.0 \
130
130
--name=apache-php.pool-1.1.1 \
131
131
--manager=systemd \
132
132
--register \
@@ -150,7 +150,7 @@ To see detailed information about the image run `scmi` with the `--info` option.
150
150
$ eval "sudo -E $(
151
151
docker inspect \
152
152
-f "{{.ContainerConfig.Labels.install}}" \
153
-
jdeathe/centos-ssh-apache-php-fcgi:1.10.6
153
+
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
154
154
) --info"
155
155
```
156
156
@@ -160,7 +160,7 @@ To perform an installation using the docker name `apache-php.pool-1.2.1` simply
160
160
$ eval "sudo -E $(
161
161
docker inspect \
162
162
-f "{{.ContainerConfig.Labels.install}}" \
163
-
jdeathe/centos-ssh-apache-php-fcgi:1.10.6
163
+
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
164
164
) --name=apache-php.pool-1.2.1"
165
165
```
166
166
@@ -170,7 +170,7 @@ To uninstall use the *same command* that was used to install but with the `unins
170
170
$ eval "sudo -E $(
171
171
docker inspect \
172
172
-f "{{.ContainerConfig.Labels.uninstall}}" \
173
-
jdeathe/centos-ssh-apache-php-fcgi:1.10.6
173
+
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
174
174
) --name=apache-php.pool-1.2.1"
175
175
```
176
176
@@ -181,15 +181,15 @@ With the addition of install/uninstall image labels it is possible to use [Proje
181
181
_NOTE:_ A prerequisite of the following examples is that the image has been pulled (or loaded from the release package).
0 commit comments