Docker Apache 2.4 + SSL + PHP 5.6 + Oracle OCI8 drivers
1.8K
Docker image PHP 5.6 and Apache
| Docker Tag | Git Release | Apache Version | PHP Version | Debian Version |
|---|---|---|---|---|
| latest | Master Branch | 2.4.25 | 7.3.4 | GNU/Linux 9 |
To pull from docker hub:
docker pull paliari/apache-ssl-php56-oci8:latest
To simply run the container:
sudo docker run -d paliari/apache-ssl-php56-oci8
sduo docker run -p 80:80 -d -e 'WEBROOT=/var/www/html/public' -e 'SET_PHP_INI_ENV=production' -e 'PHP_MEM_LIMIT=20' -e 'PHP_POST_MAX_SIZE=10' -e 'PHP_UPLOAD_MAX_FILESIZE=10' paliari/apache-ssl-php56-oci8:latest
| Name | Type | Default | Info |
|---|---|---|---|
| WEBROOT | string | /var/www/html | Set custom webroot |
| PHP_MEM_LIMIT | integer | 2048 | Define PHP memory limit in MB |
| PHP_POST_MAX_SIZE | integer | 100 | Define PHP post max size in MB |
| PHP_UPLOAD_MAX_FILESIZE | integer | 100 | Define PHP upload max filesize in MB |
| TIMEZONE | string | UTC | Set custom timezone |
| SET_PHP_INI_ENV | enum(development, production) | If defined, create /usr/local/etc/php/php.ini (recommended in production) |
The Apache default-ssl.conf makes the require
IncludeOptional conf-available/ssl-private*.conf
For SSL custom config, you can mount the volume
For SSL certificates you must mount the volumes
Example:
docker run -v ssl.conf:/etc/apache2/conf-available/ssl-private-you-app.conf \
-v your-cert.pem:/etc/apache2/ssl/cert.crt \
-v your-cert.key:/etc/apache2/ssl/cert.key \
-v your-ca.pem:/etc/apache2/ssl/ca.pem \
paliari/apache-ssl-php56-oci8:latest
Content type
Image
Digest
Size
272.7 MB
Last updated
about 7 years ago
docker pull paliari/apache-ssl-php56-oci8