This docker image is intended to work as a replacement for old legacy projects, running on old server.
Features:
- Features included from the original repository:
- Based on Ubuntu 12.04
- Apache MPM Prefork
- PHP 5.2.17 as apache mod
- Zend Optimizer
- Features added by Demin
- Enable PHP on the default site.
- Allow short open tag.
- Various updates and fixes.
- Features added by Moollllee
- Ioncube Loader
- upload_max_filesize = 32M
version: '3'
services:
app:
image: mediengestalter/php-5.2-ioncube
ports:
- "80:80"
volumes:
- ~/projects/example.com:/project
I use this Docker Image in Plesk for an older project the client wants to keep online.
- Clone Repo
- Edit Dockerfile, php.ini,...
- run Docker build & push to docker hub
$ cd docker-php-5.2-master
$ docker build -t your-docker-hub-repo/php-5.2-ioncube .
$ docker push your-docker-hub-repo/php-5.2-ioncube
Maybe login before if not already
$ docker login -u example-docker-username
- Install Docker Image in Plesk with Auto-Port-Mapping
- ...