Sign inSign up

paliari/apache-ssl-php56-oci8

By paliari

Updated about 7 years ago

Docker Apache 2.4 + SSL + PHP 5.6 + Oracle OCI8 drivers

Image
0

1.8K

paliari/apache-ssl-php56-oci8 repository overview

paliari/apache-ssl-php56-oci8

Docker image PHP 5.6 and Apache

Versioning
Docker TagGit ReleaseApache VersionPHP VersionDebian Version
latestMaster Branch2.4.257.3.4GNU/Linux 9

Quick Start

To pull from docker hub:

docker pull paliari/apache-ssl-php56-oci8:latest
Running

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
Environments custom
NameTypeDefaultInfo
WEBROOTstring/var/www/htmlSet custom webroot
PHP_MEM_LIMITinteger2048Define PHP memory limit in MB
PHP_POST_MAX_SIZEinteger100Define PHP post max size in MB
PHP_UPLOAD_MAX_FILESIZEinteger100Define PHP upload max filesize in MB
TIMEZONEstringUTCSet custom timezone
SET_PHP_INI_ENVenum(development, production)If defined, create /usr/local/etc/php/php.ini (recommended in production)
SSL config

The Apache default-ssl.conf makes the require


IncludeOptional conf-available/ssl-private*.conf

For SSL custom config, you can mount the volume

  • /etc/apache2/conf-available/ssl-private<-name>.conf

For SSL certificates you must mount the volumes

  • /etc/apache2/ssl/cert.crt
  • /etc/apache2/ssl/cert.key
  • /etc/apache2/ssl/ca.pem

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

Examples

Examples

Author

Tag summary

Content type

Image

Digest

Size

272.7 MB

Last updated

about 7 years ago

docker pull paliari/apache-ssl-php56-oci8