WordPress – increase memory and performance
Version: 32.1
Revision: 23 Build 11
Wordpress – increase memory and performance
Introduction: when I was reading “WordPress for Dummies”, I coudn’t believe the titles! It’s utlerly crazy and diabolical. But, on the other hands, I don’t really care…
Anyway, just unfasten your seat-belt and take a look at this article: how to fix the dreaded “white screen of death” syndrome.
This tutorial involves: ‘increasing’ the amount of PHP memory available to WordPress. However, on some server, you might want to consult this with your host – provider, concerning current available memory and overall compatibility. After that, just follow the instruction!
1.] Check your hosting provider and your WordPress website for PHP-related and/or PHP memory issues associated with any of the followings…
Inability to open various WP Admin screens (e.g., Themes, Plugins)
Inability to leave comments or no returned page upon leaving a comment
Inability to search or send feedback via various comment forms
Broken plugins (e.g., XML Sitemap Generator, DD Sitemap Generator)
Experiencing various timeouts (e.g. file uploads, page loads)
Unexpected downloading of PHP files via Firefox
Explicit PHP memory errors
Notes: If you are experiencing any one (or more) of these issues, increasing your blog’s PHP memory – limit may be the solution. However, you must consult this with for hosting provider, first!
2.] First, you must backup your “wp-config.php” file, which is located in the “WordPress” root directory or the root – sub directory.
Notes: the “wp-config.php” file is located in these default directory.
Single directory: /public_html/*
Sub directory: /public_html/blog/*
3.] Open your “wp-config.php” file and place the following code directly after the opening PHP element as follows. This source code can be place / alter inside your ‘configuration’ file, with Cpanel or by editing outside the server (downloading and uploading through FTP programs)
—Copy Source Code—
ini_set("memory_limit","64M");
—End Source Code—
4.] Finally, just save your “wp-config.php” file, logout of your Cpanel / FTP software and clear your system cache. However, if things are still acting sluggish, you may try ‘incrementally’ increasing the amount of available PHP memory. Depending on your current settings…
—Copy Source Code—
ini_set("memory_limit","12M");
ini_set("memory_limit","16M");
ini_set("memory_limit","32M");
ini_set("memory_limit","64M");
—End Source Code—
FAQ – To check your available PHP memory, just upload a “phpinfo.php” file containing…
—Copy Source Code—
<?php phpinfo(); ?>
—End Source Code—
After that, you’ll need to call it in a browser. Scroll down about one screen and locate the line that says, “memory_limit” — the value given represents your server’s current PHP memory limit.
Copyrighted By Lair360


