9 months ago
Hi, I wish to increase my post size limit on my api to upload images can you guys help me out? Thanks in advance.
0 Replies
uploadmaxfilesize = 20M
postmaxsize = 21M
How can I set this values on my php ini
@Brody How can I implement a fix like this on my Project
RUN echo "uploadmaxfilesize = 20M" >> /usr/local/etc/php/php.ini # Add this line to set uploadmaxfilesize
RUN echo "postmaxsize = 21M" >> /usr/local/etc/php/php.ini # Add this line to set postmaxsize
@Brody I found your response to some one in Help Station this worked for me too, thanks again.
For any one else you need to add this 2 files to your root project.
https://gist.github.com/brody192/fcc1136b61c3de20609fa91ee384d47c
https://gist.github.com/brody192/ed12b50fd39e373a28d75f25b100a87d#file-nixpacks-toml
9 months ago
!s
Status changed to Solved adam • 9 months ago