Skip to content

Commit 0155bda

Browse files
authored
Merge pull request #9 from phabricator-docker/opcache-config-stable
Add recommend opcache config
2 parents 9b724e3 + 8f438a6 commit 0155bda

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ RUN { \
7272
echo 'opcache.max_accelerated_files=4000'; \
7373
echo 'opcache.revalidate_freq=60'; \
7474
echo 'opcache.fast_shutdown=1'; \
75+
# From Phabricator
76+
echo 'opcache.validate_timestamps=0'; \
7577
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
7678

7779
# Set the default timezone.

Dockerfile.daemon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ RUN { \
6767
echo 'opcache.max_accelerated_files=4000'; \
6868
echo 'opcache.revalidate_freq=60'; \
6969
echo 'opcache.fast_shutdown=1'; \
70+
# From Phabricator
71+
echo 'opcache.validate_timestamps=0'; \
7072
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
7173

7274
# Set the default timezone.

0 commit comments

Comments
 (0)