Home / Tips / Programming languages / Scripting languages / PHP / How to find out memory_limit for the command-line interface (CLI) in PHP

How to find out memory_limit for the command-line interface (CLI) in PHP

PHP
 
PHP
  • Currently 5 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 5/5 (1 votes cast)

Thank you for rating!

You have already rated this page, you can only rate it once!

Your rating has been changed, thanks for rating!

Log in or create a user account to rate this page.


It can be found out by running the command php with option -i.

Commands:

php -i | grep 'memory_limit'

Output:

memory_limit => 128M => 128M

 

Read also

What is PHP?

What is PHP?

Classes and objects in PHP

Classes and objects in PHP

How to access classes and objects in PHP

How to access classes and objects in PHP

Post comment

basicuse.net
html5_css
106160485398655174790

Quick navigation

General navigation