Differences between PHP memory limit and RAM

PHP memory limit and RAM differences

PHP memory limit setting applies to maximum memory limit which is used by a single request/script/process. It helps prevent poorly written scripts from consuming all available memory on a server. For instance, if 3 PHP scripts are simultaneously using 100 MB of memory each, that might total to 300MB of memory usage, and a PHP limit of 128MB wouldn’t be hit.

The RAM is liable for storing and making all the data needed to run a process or script available. Basically, the system’s RAM itself is what will allocate memory to these processes or scripts also as leaving some reserved memory to make sure the proper function of other programs/services in a system

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I change a database password on cPanel?

Changing MySQL database password via cPanel You can change your database’s password by...

How can I change my PHP version on cPanel?

Changing PHP version via cPanel Your Hosting Account's PHP version can be changed at any time,...

How can I create a new MySQL database in cPanel?

Creating a new MySQL database at Servers GATE using cPanel   You can easily create a new MySQL...

How can I locate my MySQL database details on cPanel?

Locating your MySQL database details via cPanel You can easily locate your MySQL databases...

How can I set up a redirect on cPanel?

Creating a redirect on cPanel Your hosting redirects can be easily managed with the assistance...