Public Repository

Last pushed: 2 years ago
Short Description
php with mysql, pdo, and mod_rewrite enabled
Full Description

The official php images used to come with many common extensions installed. Now they took them out and want you to install the ones you need. This is just official php with mysql, pdo, extensions, and also it enables mod_rewrite.

FROM php:5.4-apache
RUN docker-php-ext-install mysql mysqli pdo pdo_mysql lib
RUN cp /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load
Docker Pull Command