Skip to content

Commit 2009f39

Browse files
authored
Enables log_errors flag on PHP container
1 parent 14d1c36 commit 2009f39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

php.dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ WORKDIR /var/www/html
1515

1616
RUN sed -i "s/user = www-data/user = ${PHPUSER}/g" /usr/local/etc/php-fpm.d/www.conf
1717
RUN sed -i "s/group = www-data/group = ${PHPGROUP}/g" /usr/local/etc/php-fpm.d/www.conf
18+
RUN echo "php_admin_flag[log_errors] = on" >> /usr/local/etc/php-fpm.d/www.conf
1819

1920
RUN docker-php-ext-install pdo pdo_mysql
2021

0 commit comments

Comments
 (0)