ComputoIT Solutions is fast emerging as a Business Leader in New Generation Consulting in providing efficient as well as cost-effective IT Solutions. We provide a complete holistic range of solutions by leveraging our deep domain expertise and close-knit associations with leading technology companies. Our platform-agnostic approach takes into account a client's current environment while ensuring flexibility and scalability to grow with the enterprise.
Sell And Buy
Tuesday, 23 December 2014
Increasing memory allocated to wordpress in PHP
Also released with Version 2.5, the WP_MEMORY_LIMIT option allows you to specify the maximum amount of memory that can be consumed by PHP. This setting may be necessary in the event you receive a message such as "Allowed memory size of xxxxxx bytes exhausted".
->Please open wp-config.php file and add below code to increase the memory size
/*Increase PHP Memory to 64MB*/
define( 'WP_MEMORY_LIMIT', '64M' );
/*Increase PHP Memory to 96MB*/
define( 'WP_MEMORY_LIMIT', '96M' );
/*When in the administration area, the memory can be increased or decreased from the WP_MEMORY_LIMIT by definingWP_MAX_MEMORY_LIMIT.*/