ServerCake India

How to find the PHP Memory Limit via SSH?

PHP Memory Limit
PHP Memory Limit Graphical Illustration

What is PHP Memory Limit?

The default PHP memory limit before the version 5.2 was 8MB. Then it was increased to a default of 16MB for the version 5.2.0. Now, currently, it is increased to a default of 128MB. PHP is a widely used open source scripting language. It is used for web development and can be embedded into HTML.

How to find the PHP Memory Limit via SSH?

Secure Socket Shell(SSH) is a network protocol that provides network administrators to access a remote computer in a secured way. It also refers to the suite of utilities that implements the protocol. It provides strong authentication and secure communications over an insecure channel.

To check the PHP memory limit via SSH, run the command php-i|grep memory

This shows the memory limit of the individual PHP script that can run in.

 

 

Editorial Team

Editorial Team at ServerCake India Blog is a team of experts in Server Administration, Business Development, Management, SEO Analyst & Graphic Designers with more than 5+ years of expertise.

Add comment