• Sales: 1-800-961-2888
  • Support: 1-800-961-4454

How do I change the PHP maximum upload file size?


In an .htaccess file in the same directory as the upload script, include this line:

php_value upload_max_filesize ?M

Replace "?" with the applicable value. Our default size is set to 2MB and a successful modification of the max upload size will show in your PHP info file. See How can I view configuration information for my PHP sites?

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

If you are continuing to encounter issues, please contact support.







© 2011-2013 Rackspace US, Inc.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License


See license specifics and DISCLAIMER