Fix ‘The Uploaded File Exceeds the upload_max_filesize Directive in php.ini’
Filestack filestack.com
Listen to this summary
“The uploaded file exceeds the upload_max_filesize directive in php.ini” is the message for PHP upload error code 1. One file in the request was larger than upload_max_filesize, which is 2M (2 megabytes) by default, so PHP dropped that file before your script started. To fix it, raise upload_max_filesize and post_max_size in the php.ini file that your web server loads, then restart PHP.
Filestack, our file upload API, takes the file out of that path. The File Picker sends the file from the browser straight to Filestack storage, and your PHP script receives a handle, a 20-character ID for the stored file. We built a two-file PHP sample that uploads a 12 MB file past the default 2M limit, and it needs an API key, an app secret and one script tag.
More ways to use this
Open on another device
Scan to open this page. Your saved notes and account access are not included.