Update php.ini when using Wordpress image

8 months ago

As title says, I need to update php.ini to these values:

RUN echo "uploadmaxfilesize = 128M" >> /usr/local/etc/php/php.ini
RUN echo "postmaxsize = 128M" >> /usr/local/etc/php/php.ini
RUN echo "maxexecutiontime = 300" >> /usr/local/etc/php/php.ini
RUN echo "maxinputtime = 300" >> /usr/local/etc/php/php.ini

How can I do this? I am using wordpress image, I do not have any code on local machine

0 Replies

8 months ago

60d73e41-7abe-4350-85cb-32205ec70e33


8 months ago

you can modify these things in the start command


8 months ago

ah, got ya, thanks!