cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution
Highlighted

Wp Memory limit

How to increase WP Memory limit from server wide?

I treid to find the php.ini, but not found.

Tried to edit .htaccess, still not worked, showing error message while opening site.

Finally adding define( 'WP_MEMORY_LIMIT', '256M' ); to wp-config.php, no problem arised. But on my server information on cPanel it is still showing memory limit 64 mb. So I think define( 'WP_MEMORY_LIMIT', '256M' ); actually not working on my site.

So how to increase this memory server wide?? Is there any Hosting Plan to do this or define( 'WP_MEMORY_LIMIT', '256M' ); actually worked?
1 REPLY 1
Moderator
Moderator
Solution

Re: Wp Memory limit

Hi @impurnendu, thanks for posting.

It sounds like you are using a cPanel hosting plan. cPanel uses .user.ini files, but they function similarly to php.ini files. Details on this can be found in this article:

https://www.godaddy.com/help/what-filename-does-my-php-initialization-file-need-to-use-8913

If you do not see a .user.ini file, you can create a text file named .user.ini and place the changes in that file.

 

Gary - GoDaddy | Community Moderator
24/7 Support | Check System Status