Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Scheduled Posts failing and Out of Memory Errors


mikehenrysr
Participant

@mikehenrysr

The php.ini file has:
max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 128M ; Maximum amount of memory a script may consume (16MB)

And in wp_config.php the following settings exist (I don’t know why they’re different…)
define(‘WP_CACHE’, true); //Added by WP-Cache Manager
define(‘WP_MEMORY_LIMIT’, ‘640M’);
ini_set(‘memory_limit’, ‘640M’);

I installed the GD Press plugin to report info like this and it says:
PHP memory used: 52.4 MB
Memory Limit: 256M

And, when I look at the PHP configuration in CPanel, it says the memory_limit is -1

The php.ini file is in the top level directory of my hosting account and in the top level directory of my domain.

Shouldn’t these all be the same?

Skip to toolbar