Sign inSign up

canelrom1/apache2-php7

By canelrom1

•Updated over 5 years ago

Server HTTP + PHP

Image
0

1.3K

canelrom1/apache2-php7 repository overview

⁠docker-apache2-php7

⁠Getting started

To run the container:

$ make run

To test the PHP module:

http://<address>/phpinfo.php

⁠Build an image

To build your own image:

$ make build

With the parameters:

$ make build prefix=canelrom1 name=apache2-php7 tag=1.0

To clean docker images:

$ make clean

⁠Environment variable

⁠Apache2 container

  • APACHE_RUN_USER
  • APACHE_RUN_GROUP
  • APACHE_SERVERADMIN
  • APACHE_SERVERNAME
  • APACHE_HTACCESS

⁠PHP Container

PHP upload limits

  • PHP_LIMITS_UPLOAD

For sending a mail

  • SMTP_HOST
  • SMTP_PORT
  • SMTP_USER
  • SMTP_PASSWORD
  • SMTP_MAILFROM

Tag summary

Content type

Image

Digest

Size

48.6 MB

Last updated

over 5 years ago

docker pull canelrom1/apache2-php7