How Do I Change The PHP Memory Limit Value?

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 128MB, and a successful modification of the memory limit will show in your PHP info file. For more information, see How can I view server configuration information for PHP?

For information on PHP configuration option limits, please see this entry in our FAQ.

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

Was this content helpful?

© 2015 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