I need to increase the php memory limit on my hosting, it’s currently at 64M, so I go to Cpanel > Select PHP version > Switch To PHP Options and under memory_limit I change this to 256M and save.
Next I go to Cpanel > PHP Processes > Kill Processes
When I go to Cpanel > PHP it still shows memory_limit as 64M?
Solved! Go to Solution.
Hi, @HenrysCat. To update your memory limit on our cPanel Hosting plans, you'll want to upload or create a .user.ini file in the /public_html directory. In that file, you'd enter the following code:
memory_limit = XM
You would substitute the amount of memory you want in megabytes for the X in the statement above. For example, if you wanted 500 MB, then you'd have '500M' after the equal sign.
Once you do that, the limit should change.
Hi, Follow the tutorial below.
I have created a video based on PHP Memory Limit, Executive Time, Post Max, Upload Max FileSize.
I have attached a video File below. Easy to understand. Just follow the tutorials below and increase your default PHP Limit.