FROM php:8.2-apache

# Install mysqli extension (needed for mysqli_connect)
RUN docker-php-ext-install mysqli

# Optional: enable rewrite
RUN a2enmod rewrite

# Keep default docroot: /var/www/html
WORKDIR /var/www/html
