I have this .user.ini containing
memory_limit = 1G
allow_url_fopen = On
upload_max_filesize = 128M
post_max_size = 128M
and pass it on the heroku-php-apache2 command via
heroku-php-apache2 -i .user.ini public/
I can see the memory limit has been increased but these two
upload_max_filesize = 128M
post_max_size = 128M
seems were not recognized, the upload_max_filesize and post_max_size is still not changed. Any idea, help please?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
I’ve seen a similar discussion about this here.
Most users report that they managed to get this to work after adding the
.user.ini
file in thepublic
directory.Let me know if this works if you were to move the ini file there!
- Bobby