This article describes how to change the memory limit for PHP scripts by using the memory_limit directive in an .htaccess file.
By default, a PHP script can allocate up to 128 megabytes of memory. You can modify this limit by changing the memory_limit directive in an .htaccess file.
To change the memory limit for PHP scripts, follow these steps:
php_value memory_limit xxxM
<?php phpinfo(); ?>
Subscribe to receive weekly cutting edge tips, strategies, and news you need to grow your web business.
No charge. Unsubscribe anytime.