PHP settings for bigger file uploads

Published on Author roving_adventurerLeave a comment

Just a quick one! When setting up the hosting for the PrestaShop instance I have deployed my client ran in to errors trying to upload big image files, particularly for the virtual product downloads she offers. A quick google identified the issue as PHP configuration, which out-of-the-box for Amazon Linux is set to limit max uploadable file siZe to 2M. To increase this edit the php.ini :

post_max_size=16M
upload_max_filesize=16M

Leave a Reply

Your email address will not be published. Required fields are marked *