change upload_max_filesize in php.ini wordpress code example Example: upload_max_filesize in wordpress @ini_set('upload_max_size' , '128M' );