Skip to content

Commit 2bc4247

Browse files
authored
Merge pull request #30 from moveis-simonetti/php8dot0-disable-triggers
fix: não registrar deprecations em prod
2 parents a7261a1 + 25652c0 commit 2bc4247

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/
8585

8686
COPY configs/ports.conf /etc/apache2/ports.conf
8787
COPY configs/logs.conf /etc/apache2/conf-enabled/logs.conf
88+
COPY configs/php.ini /usr/local/etc/php/conf.d/php-defaults.ini
8889
COPY apache-run.sh /usr/bin/apache-run
8990
COPY ./bin /usr/bin/
9091

configs/php.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
html_errors Off
2+
post_max_size = "10M"
3+
upload_max_filesize = "5M"
4+
memory_limit = 12800M
5+
date.timezone = "America/Sao_Paulo"
6+
display_errors=Off
7+
error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_USER_DEPRECATED

0 commit comments

Comments
 (0)