This article describes how to change the PHP memory limit for scripts by using the memory_limit directive in a php.ini file.
By default, a PHP script can allocate up to 128 megabytes of memory.
To change this limit, use a text editor to modify the memory_limit directive in your php.ini file. For example, to allow scripts to allocate a maximum amount of 256 megabytes of memory, use the following setting:
memory_limit = 256M
Subscribe to receive weekly cutting edge tips, strategies, and news you need to grow your web business.
No charge. Unsubscribe anytime.
Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.