Add Dockerfile for PHP 8.2 Apache setup with MySQL extensions

This commit is contained in:
cindy
2026-06-10 19:30:19 +07:00
parent 3e12d6a5ba
commit 1a9534757e
+9
View File
@@ -0,0 +1,9 @@
FROM php:8.2-apache
RUN docker-php-ext-install mysqli pdo pdo_mysql
COPY . /var/www/html/
RUN chown -R www-data:www-data /var/www/html
EXPOSE 80