rezoleo/php

Sponsored OSS

By Rézoléo

Updated 1 day ago

PHP + Apache image with useful extensions preinstalled

Image
Languages & frameworks
Web servers
1

5.4K

rezoleo/php repository overview

docker-php

A PHP + Apache docker image with useful extensions preinstalled

The following versions of the image are available:

  • PHP 7.3
  • PHP 7.4
  • PHP 8.0
  • PHP 8.1
  • PHP 8.2
  • PHP 8.3
  • PHP 8.4

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.


Source repository: https://github.com/rezoleo/docker-php

Tag summary

Content type

Image

Digest

sha256:85e04e9ee

Size

201.4 MB

Last updated

1 day ago

docker pull rezoleo/php:8.4-apache

This week's pulls

Pulls:

196

Last week