Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

rodzzlessa's avatar

Allowing for large file uploads

I have an Ubuntu server on digital ocean that forge built for me. I'm trying to change the upload_max_filesize post_max_size max_input_time max_execution_time

I did so in the bottom right where I edit the php.ini file. However when I do a dd(phpinfo()); It still shows the old values. The only thing updated is the upload_max_filesize since there a specific option to change that on forge. I pressed the restartd ngix and server but nothing helped.

0 likes
3 replies
bashy's avatar

php.ini is set by php5-fpm, you will need to restart that for it to take effect.

Not sure if you can do that on Forge itself but you can always do this on SSH

sudo service php5-fpm restart
1 like
bashy's avatar

Sure you editing the right file? You can check it with

sudo nano /etc/php5/fpm/php.ini

Please or to participate in this conversation.