Cant upload larger than 100MB


I am using DO Droplet 2gb RAM Shared CPU running apache. I cant upload files larger than 100MB in the Media Uploader but I can upload LOWER than 100mb. I already tried modifying php.ini and other stuffs like htaccess and wp-config.

@ini_set( 'upload_max_filesize' , '512M' );
@ini_set( 'post_max_size', '512M');
@ini_set( 'memory_limit', '512M' );
@ini_set( 'max_execution_time', '300' );
@ini_set( 'max_input_time', '300' );

php.ini is also modified like the above. Media uploader on backend shows I can upload 512M but its just stuck in 1% or 0%. Tried uploading larger than 512M it shows an error.

I tried also reinstalling BOOT IMAGE like WordPress on Ubuntu and OpenLiteSpeed WordPress and Suchs but still not working with the changed PHP.INI values and same.

I was thinking that this is a wordpress problem as I tried other PHP Scripts and it uploads larger than 100M.

Help is appreciated. Thank you guys!

Ace Sy 7 days 2022-05-13T01:39:50-05:00 0 Answers 0 views 0

Leave an answer