How do I change the PHP maximum upload file size?
n an .htaccess file in the same directory as the upload script, include this line:
php_value upload_max_filesize ?M
Replace "?" with the with the value you need to replace it with. Our default size is set to 2MB and a successful modification of the max upload size will show in your PHP info file.
If you're running WordPress and continue to have problems after increasing the upload_max_filesize value you can try adding these settings as well:
php_value post_max_size ?M
php_value max_execution_time 200
php_value max_input_time 200
How Do I Change The PHP Memory Limit Value with htaccess?
Include this line in an .htaccess file in the same directory as the script:
php_value memory_limit ?M
Replace ? with the appropriate megabyte value. Our default size is set to 32MB, and a successful modification of the memory limit will show in your PHP info file.
How do I change the post max size value?
In an .htaccess file in the same directory as the executing script, include this line:
php_value post_max_size ?M
Replace "?" with the with the required value needed such as 16. Our default post_max_size value is set to 8MBs.