Skip to content

Commit

Permalink
Setup php.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
ixkaito committed Jul 22, 2015
1 parent e318d93 commit befe4a1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions wheezy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ RUN mv /etc/apache2/sites-available/default /etc/apache2/sites-available/default
ADD apache2-default /etc/apache2/sites-available/default
RUN a2enmod rewrite

#
# php.ini settings
#
RUN sed -i -e "s/^upload_max_filesize.*/upload_max_filesize = 32M/" /etc/php5/apache2/php.ini \
&& sed -i -e "s/^post_max_size.*/post_max_size = 64M/" /etc/php5/apache2/php.ini \
&& sed -i -e "s/^display_errors.*/display_errors = On/" /etc/php5/apache2/php.ini \
&& sed -i -e "s/^;mbstring.internal_encoding.*/mbstring.internal_encoding = UTF-8/" /etc/php5/apache2/php.ini

#
# Install WP-CLI
#
Expand Down

0 comments on commit befe4a1

Please sign in to comment.