How To Read php.ini Settings in Comment Line ?
In normal circumstances we can monitorize the value of php.ini at php.
<?php
echo ini_get('post_max_size');
But in some cases we may want to monitorize from command line. Here is the codes we are going to use in such circumstances.
php -i | grep 'value'
php -r "echo ini_get('value')";
grep 'value' /path/to/php.ini
Here you will enter the value of php.ini to value
part. For example you may arrange as post_max_size
and test it
Comments
Popular Articles
Popular Tags
- #directive
- #Function
- #Json
- #Class
- #SASS
- #Form
- #Redirect
- #API
- #Special Characters
- #Special
- #Random
- #Generating
- #
- #Text
- #Ajax
- #URL
- #Encrypting
- #React
- #Show
- #timeAgo
- #PSR-4
- #Hide
- #DDOS Protection
- #DDOS
- #cURL
- #Logic For Displaying Posts
- #Error
- #Key
- #General Error
- #1364 Field
- #Abbreviation
- #Blade
- #Version
- #QR
- #QR Code Generating
- #Array
- #Arrays with Key Values to String Statement
- #Short Tag
- #Activate
- #Real Time
- #Socket.io
- #301
- #Custom Directives
- #Iframe Detection
- #Date
- #Characters
- #Insert
- #Autoloader
- #Composer
- #Reading
There are no comments, make the firs comment