• Resolved ssl

    (@ssl)


    WordPress is a collection of PHP script files, so it only makes sense to increase the PHP memory limit when the WordPress memory limit is increased.

    WordPress comes with a default memory limit of 32MB, but this may not be sufficient when you have a lot of plugins, and a lot of traffic to your blog.

    To increase the default WordPress memory add the following line to the wp-config.php file:

    define(’WP_MEMORY_LIMIT’, ’64M’);

    Keep in mind the above limit is 64MB, but it can be set at any increment of 8MB. For instance, 32MB, 40MB, 64MB, 128MB.

    The wp-config.php is located in the root directory of your WordPress installation. If you are on a shared hosting platform you may need to ask your host to increase the memory limit. On a self hosted platform you can increase the memory as long as it does not exceed the amount of RAM installed on the server.

    After increasing the memory limit for WordPress you will need to also increase the PHP memory limit. If your WordPress installation is self hosted, but your have more than one WordPress blog installed, you will need to allocate enough memory to handle all the installations.

    On Linux servers the PHP file that requires editing is located at:

The topic ‘php memory_limit on hostall4u.com is 256 MB’ is closed to new replies.