Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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' );
Source by www.thiscodeworks.com #
 
PREVIOUS NEXT
Tagged: #PHP #Increase #Maximum #Upload #File #Size
ADD COMMENT
Topic
Name
1+5 =