File tree 2 files changed +14
-21
lines changed
2 files changed +14
-21
lines changed Original file line number Diff line number Diff line change @@ -311,11 +311,9 @@ RUN mkdir /php && \
311
311
COPY php.ini /etc/php/apache2-php5.2/
312
312
COPY php.ini /etc/php/cli-php5.2/
313
313
314
- # Enable mailing via ssmtp
315
- RUN apt-get update && \
316
- apt-get install -y --no-install-recommends ssmtp && \
317
- apt-get clean && \
318
- rm -r /var/lib/apt/lists/*
314
+ RUN \
315
+ apt-get clean && \
316
+ rm -r /var/lib/apt/lists/*
319
317
320
318
EXPOSE 80
321
319
Original file line number Diff line number Diff line change 1
1
# Docker image for php 5.2 legacy projects
2
+
2
3
This docker image is intended to work as a replacement for old legacy projects, running on old server.
3
- The features are
4
- * Based on Ubuntu 12.04
5
- * Apache MPM Prefork
6
- * PHP 5.2.17 as apache mod
7
- * Zend Optimizer
8
4
9
- NOTE: To enable mailing, you need to configure ssmtp. This can be done by adding a file ` ADD ssmtp.conf /etc/ssmtp/ ` containing a config like this
10
- ```
11
- # See https://linux.die.net/man/5/ssmtp.conf
12
- Mailhub=<Server>
13
- AuthUser=<User>
14
- AuthPass=<Pass>
15
- Hostname=<Senders Host>
16
- FromLineOverride=YES
17
- UseTLS=YES
18
- UseSTARTTLS=YES
19
- ```
5
+ Features:
6
+ * Features included from the [ original repository] ( https://github.com/kuborgh/docker-php-5.2 ) :
7
+ * Based on Ubuntu 12.04
8
+ * Apache MPM Prefork
9
+ * PHP 5.2.17 as apache mod
10
+ * Zend Optimizer
11
+ * Features added by Demin
12
+ * Enable PHP on the default site.
13
+ * Allow [ short open tag] ( http://php.net/manual/en/ini.core.php#ini.short-open-tag ) .
14
+ * Various updates and fixes.
You can’t perform that action at this time.
0 commit comments