Forum/Servizi di Hosting/Hosting

How do I change the PHP memory limit value?

Franco Farnedi
posted this on June 11, 2011 06:13

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

php_value memory_limit ?M

Replace "?" with the with the value you need to replace it with. Our default size is set to 32MB and a successful modification of the memory limit will show in your PHP info file. See How can I view configuration information for my PHP sites?