FROM php:8-apache RUN apt-get update && apt-get upgrade && apt-get install -y imagemagick RUN a2enmod ssl && a2enmod rewrite # Built-in tool for adding modules RUN docker-php-ext-install pdo pdo_mysql