Increase php’s memory_limit for a virtual host in Apache configuration

Add the following line within your <VirtualHost></VirtualHost> directive:

php_value memory_limit 128M

For increasing the allowed memory to 128 MB for php to consume for the specific virtual host.

Leave a comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.