Answers for "php upload max size wodpress"

PHP
2

change php max upload size

; Maximum allowed size for uploaded files.
upload_max_filesize = 40M

; Must be greater than or equal to upload_max_filesize
post_max_size = 40M
Posted by: Guest on April-21-2021
0

PHP (WordPress) - Increase Maximum Upload File Size

// Increase Maximum Upload File Size
@ini_set( 'upload_max_filesize' , '128M' ); //set this to a value > than your backup
@ini_set( 'post_max_size', '128M'); //set this to a value > than your backup
@ini_set( 'memory_limit', '256M' ); //set this to a value > than your backup
@ini_set( 'max_execution_time', '300' ); //set this to 0 (infinite)
@ini_set( 'max_input_time', '300' );
Posted by: Guest on August-19-2021

Browse Popular Code Answers by Language