Check PHP Configuration Value

Look up any php.ini value from the command line.

Reads a single php.ini directive value at runtime. Useful for verifying that a configuration file change took effect, especially for settings like memory_limit or upload_max_filesize.

When you need this: After editing php.ini to confirm the new value is active, especially post PHP-FPM reload.

Variables

Command


        
7 views 0 copies
Log in to rate
Log in to save

Free account. Save snippets into your own collections.