FROM php:8.3-apache

# Enable the rewrite module
RUN a2enmod rewrite

RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli

# The php:apache image handles the "start" command automatically,
# so we don't need to add anything else here.