Skip to content

Commit

Permalink
Added ability to setup custom php configuration from ini file
Browse files Browse the repository at this point in the history
  • Loading branch information
andriyun committed Apr 23, 2021
1 parent ba6b0af commit 9e10fe3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .docker/os2web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ RUN echo '<?php $settings["project_env"] = PROD_ENV; ' > /opt/drupal/web/sites/d
# Adding custom apache configuration with PHP value and log settings.
COPY apache/000-default.conf /etc/apache2/sites-enabled/000-default.conf

# Additional PHP configuration for both CLI and Apache
COPY php/os2web-php.ini /usr/local/etc/php/conf.d/os2web-php.ini

# Addjusting output channels for access and error log.
RUN ln -sf /dev/stderr /var/log/apache2/error.log; \
ln -sf /dev/stdout /var/log/apache2/access.log; \
Expand Down
1 change: 1 addition & 0 deletions .docker/os2web/php/os2web-php.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
memory_limit=512M

0 comments on commit 9e10fe3

Please sign in to comment.