Home >Backend Development >PHP Tutorial >How to Configure PHP for Uploading Large Files (Up to 100MB)?
Configuring PHP for Large File Uploads
Uploading large files can be challenging, but it's possible to handle up to 100 MB uploads with the right PHP configuration. This article explores the changes necessary in the php.ini file to enable such large file transfers.
The primary settings to adjust are related to file upload size limits and request processing time:
Additionally, in Apache configurations, the LimitRequestBody directive may need to be adjusted to increase the server's allowed request body size.
By making these adjustments to the php.ini file and possibly the Apache configuration, PHP can be configured to handle uploads of up to 100 MB in size.
The above is the detailed content of How to Configure PHP for Uploading Large Files (Up to 100MB)?. For more information, please follow other related articles on the PHP Chinese website!