Skip to content

A docker image with useful extensions preinstalled

License

Notifications You must be signed in to change notification settings

rezoleo/docker-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-php

A PHP + Apache docker image with useful extensions preinstalled

The following versions of the image are available:

  • PHP 5.6
  • PHP 7.2
  • PHP 7.3
  • PHP 7.4
  • PHP 8.0
  • PHP 8.1
  • PHP 8.2

Apache mod_rewrite has been activated.

They all have the following extensions added:

  • gd
  • gettext
  • imap
  • intl
  • mailparse
  • mysqli
  • pdo_mysql
  • xsl
  • zip

Configuration :

By default the Apache DocumentRoot is set to /var/www/html.

You can also use the APACHE_DOCUMENT_ROOT environment variable to change it (eg. /var/www/html/public for Symfony/Laravel).

By default the maximum upload size and maximum post size are set to 5 MB.

You can use the PHP_UPLOAD_MAX_FILESIZE and PHP_POST_MAX_SIZE to change them.

About

A docker image with useful extensions preinstalled

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published