Articles on: Technical

How To Increase PHP Memory Limit Using Webspacekit?

How to increase PHP memory limit using WebSpaceKit

PHP allocates a certain amount of memory when executing your PHP scripts. Your PHP script will exit and throw a fatal error if it has exhausted all the allocated memory.

Limiting memory allocation prevents PHP from consuming too much memory from the system. However, you can configure PHP to increase the memory limit if your script or application requires more memory for execution.

You can configure the memory_limit option for PHP from WebSpaceKit Hosting Via C-Panel.

How to Check Your Current PHP Memory Limit:

In your WordPress dashboard, go to “Tools” → “Site Health” → “Info” and scroll down to the server section. Here you can see the PHP memory limit on your server. If the amount is low, say 32M, there’s ultimately only one fix for this issue: you need to increase the amount of memory allocated to your site. However, there are a few different ways to approach this.

Check PHP Memory Limit

Steps to change memory limit for PHP from WebSpaceKit Hosting Via C-Panel:

Login into your WebSpaceKit Dashboard & Click Hosting

WebSpaceKit Dashboard

Click on your hosting account

Hosting Account

Login to C-Panel via One Click Login option

C-Panel Login

Once Logged into cPanel, scroll down to Software - Multi INI Editor

Multi INI Editor

Select your domain name from Select location.

Select Domain

Change or update your required setting and click Apply. Bonus Tip - Change the Max File Size to Upload larger files into your WordPress.

Update Settings

These are the steps to increase PHP memory limit using WebSpaceKit.

Updated on: 23/11/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!