Skip to content

Commit 19ca582

Browse files
committed
remove SSMTP and update README
1 parent 2f6b792 commit 19ca582

File tree

2 files changed

+14
-21
lines changed

2 files changed

+14
-21
lines changed

Dockerfile

+3-5
Original file line numberDiff line numberDiff line change
@@ -311,11 +311,9 @@ RUN mkdir /php && \
311311
COPY php.ini /etc/php/apache2-php5.2/
312312
COPY php.ini /etc/php/cli-php5.2/
313313

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/*
319317

320318
EXPOSE 80
321319

README.md

+11-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
# Docker image for php 5.2 legacy projects
2+
23
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
84

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.

0 commit comments

Comments
 (0)