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.
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.
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.12.0` or `1.12.0` for the [1.12.0](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/tree/1.12.0) release tag.
18
18
19
19
#### centos-7
20
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.
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.1.0` or `2.1.0` for the [2.1.0](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/tree/2.1.0) release tag.
22
22
23
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.
24
24
@@ -47,7 +47,7 @@ $ docker run -d \
47
47
--name apache-php.1 \
48
48
-p 8080:80 \
49
49
-e "APACHE_SERVER_NAME=app-1.local" \
50
-
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
50
+
jdeathe/centos-ssh-apache-php-fcgi:1.12.0
51
51
```
52
52
53
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.
@@ -97,10 +97,10 @@ $ docker run \
97
97
--volume /:/media/root \
98
98
--env BASH_ENV="" \
99
99
--env ENV="" \
100
-
jdeathe/centos-ssh-apache-php-fcgi:1.11.1 \
100
+
jdeathe/centos-ssh-apache-php-fcgi:1.12.0 \
101
101
/usr/sbin/scmi install \
102
102
--chroot=/media/root \
103
-
--tag=1.11.1 \
103
+
--tag=1.12.0 \
104
104
--name=apache-php.1
105
105
```
106
106
@@ -115,10 +115,10 @@ $ docker run \
115
115
--volume /:/media/root \
116
116
--env BASH_ENV="" \
117
117
--env ENV="" \
118
-
jdeathe/centos-ssh-apache-php-fcgi:1.11.1 \
118
+
jdeathe/centos-ssh-apache-php-fcgi:1.12.0 \
119
119
/usr/sbin/scmi uninstall \
120
120
--chroot=/media/root \
121
-
--tag=1.11.1 \
121
+
--tag=1.12.0 \
122
122
--name=apache-php.1
123
123
```
124
124
@@ -133,10 +133,10 @@ $ docker run \
133
133
--volume /:/media/root \
134
134
--env BASH_ENV="" \
135
135
--env ENV="" \
136
-
jdeathe/centos-ssh-apache-php-fcgi:1.11.1 \
136
+
jdeathe/centos-ssh-apache-php-fcgi:1.12.0 \
137
137
/usr/sbin/scmi install \
138
138
--chroot=/media/root \
139
-
--tag=1.11.1 \
139
+
--tag=1.12.0 \
140
140
--name=apache-php.1 \
141
141
--manager=systemd \
142
142
--register \
@@ -160,7 +160,7 @@ To see detailed information about the image run `scmi` with the `--info` option.
160
160
$ eval "sudo -E $(
161
161
docker inspect \
162
162
-f "{{.ContainerConfig.Labels.install}}" \
163
-
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
163
+
jdeathe/centos-ssh-apache-php-fcgi:1.12.0
164
164
) --info"
165
165
```
166
166
@@ -170,7 +170,7 @@ To perform an installation using the docker name `apache-php.2` simply use the `
170
170
$ eval "sudo -E $(
171
171
docker inspect \
172
172
-f "{{.ContainerConfig.Labels.install}}" \
173
-
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
173
+
jdeathe/centos-ssh-apache-php-fcgi:1.12.0
174
174
) --name=apache-php.2"
175
175
```
176
176
@@ -180,7 +180,7 @@ To uninstall use the *same command* that was used to install but with the `unins
180
180
$ eval "sudo -E $(
181
181
docker inspect \
182
182
-f "{{.ContainerConfig.Labels.uninstall}}" \
183
-
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
183
+
jdeathe/centos-ssh-apache-php-fcgi:1.12.0
184
184
) --name=apache-php.2"
185
185
```
186
186
@@ -191,15 +191,15 @@ With the addition of install/uninstall image labels it is possible to use [Proje
191
191
_NOTE:_ A prerequisite of the following examples is that the image has been pulled (or loaded from the release package).
0 commit comments