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.
Copy file name to clipboardExpand all lines: README.md
+21-16Lines changed: 21 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,9 @@ Apache PHP web server, loading only a minimal set of Apache modules by default.
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.2` or `1.10.2` for the [1.10.2](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/tree/1.7.0) 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.10.3` or `1.10.3` for the [1.10.3](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/tree/1.7.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
@@ -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.2 \
90
+
jdeathe/centos-ssh-apache-php-fcgi:1.10.3 \
91
91
/usr/sbin/scmi install \
92
92
--chroot=/media/root \
93
-
--tag=1.10.2 \
93
+
--tag=1.10.3 \
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.2 \
108
+
jdeathe/centos-ssh-apache-php-fcgi:1.10.3 \
109
109
/usr/sbin/scmi uninstall \
110
110
--chroot=/media/root \
111
-
--tag=1.10.2 \
111
+
--tag=1.10.3 \
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.2 \
126
+
jdeathe/centos-ssh-apache-php-fcgi:1.10.3 \
127
127
/usr/sbin/scmi install \
128
128
--chroot=/media/root \
129
-
--tag=1.10.2 \
129
+
--tag=1.10.3 \
130
130
--name=apache-php.pool-1.1.1 \
131
131
--manager=systemd \
132
132
--register \
@@ -136,6 +136,8 @@ $ docker run \
136
136
137
137
##### SCMI Fleet Support
138
138
139
+
**_Deprecation Notice:_** The fleet project is no longer maintained. The fleet `--manager` option has been deprecated in `scmi`.
140
+
139
141
If your docker host has systemd, fleetd (and optionally etcd) installed then `scmi` provides a method to schedule the container to run on the cluster. This provides some additional features for managing a group of instances on a [fleet](https://github.com/coreos/fleet) cluster and has the option to use an etcd backed service registry. To use the fleet method of installation use the `-m` or `--manager` option of `scmi` and to include the optional etcd register companion unit use the `--register` option.
140
142
141
143
##### SCMI Image Information
@@ -148,7 +150,7 @@ To see detailed information about the image run `scmi` with the `--info` option.
148
150
$ eval "sudo -E $(
149
151
docker inspect \
150
152
-f "{{.ContainerConfig.Labels.install}}" \
151
-
jdeathe/centos-ssh-apache-php-fcgi:1.10.2
153
+
jdeathe/centos-ssh-apache-php-fcgi:1.10.3
152
154
) --info"
153
155
```
154
156
@@ -158,7 +160,7 @@ To perform an installation using the docker name `apache-php.pool-1.2.1` simply
158
160
$ eval "sudo -E $(
159
161
docker inspect \
160
162
-f "{{.ContainerConfig.Labels.install}}" \
161
-
jdeathe/centos-ssh-apache-php-fcgi:1.10.2
163
+
jdeathe/centos-ssh-apache-php-fcgi:1.10.3
162
164
) --name=apache-php.pool-1.2.1"
163
165
```
164
166
@@ -168,7 +170,7 @@ To uninstall use the *same command* that was used to install but with the `unins
168
170
$ eval "sudo -E $(
169
171
docker inspect \
170
172
-f "{{.ContainerConfig.Labels.uninstall}}" \
171
-
jdeathe/centos-ssh-apache-php-fcgi:1.10.2
173
+
jdeathe/centos-ssh-apache-php-fcgi:1.10.3
172
174
) --name=apache-php.pool-1.2.1"
173
175
```
174
176
@@ -179,15 +181,15 @@ With the addition of install/uninstall image labels it is possible to use [Proje
179
181
_NOTE:_ A prerequisite of the following examples is that the image has been pulled (or loaded from the release package).
To see detailed information about the image run `scmi` with the `--info` option. To see all available `scmi` options run with the `--help` option.
186
188
187
189
```
188
190
$ sudo -E atomic install \
189
191
-n apache-php.pool-1.3.1 \
190
-
jdeathe/centos-ssh-apache-php-fcgi:1.10.2 \
192
+
jdeathe/centos-ssh-apache-php-fcgi:1.10.3 \
191
193
--info
192
194
```
193
195
@@ -196,14 +198,14 @@ To perform an installation using the docker name `apache-php.pool-1.3.1` simply
196
198
```
197
199
$ sudo -E atomic install \
198
200
-n apache-php.pool-1.3.1 \
199
-
jdeathe/centos-ssh-apache-php-fcgi:1.10.2
201
+
jdeathe/centos-ssh-apache-php-fcgi:1.10.3
200
202
```
201
203
202
204
Alternatively, you could use the `scmi` options `--name` or `-n` for naming the container.
203
205
204
206
```
205
207
$ sudo -E atomic install \
206
-
jdeathe/centos-ssh-apache-php-fcgi:1.10.2 \
208
+
jdeathe/centos-ssh-apache-php-fcgi:1.10.3 \
207
209
--name apache-php.pool-1.3.1
208
210
```
209
211
@@ -212,7 +214,7 @@ To uninstall use the *same command* that was used to install but with the `unins
212
214
```
213
215
$ sudo -E atomic uninstall \
214
216
-n apache-php.pool-1.3.1 \
215
-
jdeathe/centos-ssh-apache-php-fcgi:1.10.2
217
+
jdeathe/centos-ssh-apache-php-fcgi:1.10.3
216
218
```
217
219
218
220
#### Environment Variables
@@ -436,8 +438,11 @@ To set the timezone for the UK and account for British Summer Time you would use
436
438
437
439
Using `PHP_OPTIONS_SESSION_SAVE_HANDLER` and `PHP_OPTIONS_SESSION_SAVE_PATH` together it's possible to configure PHP to use an alternative `session.save_handler` and `session.save_path`. For example if you have a Memcached server running on the host `memcached-server` on the default port `11211` the following configuration will allow session data to be stored in Memcached, allowing session data to be shared between multiple PHP containers.
438
440
441
+
Using `PHP_OPTIONS_SESSION_NAME` a session name can be defined - otherwise the default name "PHPSESSID" is used.
0 commit comments