PHP 7.4 Apache with extensions: gd, mysqli, xdebug, etc. Includes Composer, rewrite, ssl.
1.6K
This image provides a PHP 7.4 environment based on Apache (Debian Buster) with a robust set of PHP extensions for modern web application development. Built from php:7.4.33-apache-buster, it installs extensions like gd, mysqli, pdo_mysql, zip, xdebug, mcrypt, bcmath, ftp, intl, xlswriter, apcu, exif, and ffi using install-php-extensions. Composer is included for dependency management.
Additional features include enabled Apache rewrite and ssl modules, a cleaned apt cache for a smaller image size, and proper permissions for /var/www/html set to the www-data user. This image is perfect for development, debugging, or deploying PHP applications requiring specific extensions.
Example Usage:
docker run -d -p 80:80 -v ./my-app:/var/www/html herliansyah/php7.4.33-apache-buster
Available Tags:
latest (based on PHP 7.4.33) 7.4 (alias for latest)
License: MIT License
Content type
Image
Digest
sha256:a2e05ca3c…
Size
144.1 MB
Last updated
over 1 year ago
docker pull herliansyah/php7.4.33-apache-buster