phpinfo() shows the current configuration in the Local Value column; those.
- what is in
php.ini - end up overriding apache
VirtualHost or .htaccess - ultimately redefined by
ini_set
At the end, it shows the configuration values that your script will / will use.
As a side element: it also displays information that is not really a “configuration”, for example, the configure line that was used to compile PHP, the version of Zend Engine, ...
Pascal martin
source share