Setting some php options, also session path (closes #9)
This commit is contained in:
parent
1d57f0f321
commit
6baf0d59f9
10
Dockerfile
10
Dockerfile
|
@ -40,7 +40,15 @@ RUN rm /etc/apache2/sites-enabled/* \
|
|||
&& a2ensite freshrss
|
||||
|
||||
RUN rm -rf /var/lib/php \
|
||||
&& ln -s /run/php /var/lib/php
|
||||
&& ln -s /run/php /var/lib/php \
|
||||
&& mkdir -p /run/php/session
|
||||
|
||||
RUN crudini --set /etc/php/7.0/apache2/php.ini PHP upload_max_filesize 64M && \
|
||||
crudini --set /etc/php/7.0/apache2/php.ini PHP post_max_size 64M && \
|
||||
crudini --set /etc/php/7.0/apache2/php.ini PHP memory_limit 64M && \
|
||||
crudini --set /etc/php/7.0/apache2/php.ini Session session.save_path /run/php/session && \
|
||||
crudini --set /etc/php/7.0/apache2/php.ini Session session.gc_probability 1 && \
|
||||
crudini --set /etc/php/7.0/apache2/php.ini Session session.gc_divisor 100
|
||||
|
||||
ADD start.sh /app/code/start.sh
|
||||
|
||||
|
|
Loading…
Reference in New Issue