Update docker/8.3-apache/Dockerfile
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
fa538ca22f
commit
aa368cdc74
|
@ -36,3 +36,12 @@ RUN a2enmod rewrite
|
|||
|
||||
# Set max_input_vars in PHP configuration
|
||||
RUN echo "max_input_vars = 6000" > /usr/local/etc/php/conf.d/max_input_vars.ini
|
||||
|
||||
# Create a directory for PHP logs
|
||||
RUN mkdir -p /var/log/php && \
|
||||
chmod 777 /var/log/php
|
||||
|
||||
# Configure PHP error logging
|
||||
RUN echo "error_log = /var/log/php/php-error.log" > /usr/local/etc/php/conf.d/php-logging.ini && \
|
||||
echo "log_errors = On" >> /usr/local/etc/php/conf.d/php-logging.ini && \
|
||||
echo "error_reporting = E_ALL" >> /usr/local/etc/php/conf.d/php-logging.ini
|
||||
|
|
Loading…
Reference in New Issue