Software Engineer
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!
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 the public
directory.
Let me know if this works if you were to move the ini file there!
- Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.