Home  >  Article  >  Backend Development  >  Detailed explanation of the uses of php.ini and phpinfo()

Detailed explanation of the uses of php.ini and phpinfo()

藏色散人
藏色散人forward
2020-12-22 15:33:024885browse

Recommended: "PHP Video Tutorial"

phpinfo

##php -i and phpinfo() can be displayed Output phpinfo information to display the context information of the current PHP environment;

Detailed explanation of the uses of php.ini and phpinfo()

Compiler: PHP compiler version
PHP Version: PHP version
Loaded Configuration File : PHP configuration file path of the current environment
Thread Safety: Whether the thread safety version

php .ini

Detailed explanation of the uses of php.ini and phpinfo()

##;

: Comment; the comment describes the function of this configuration. You can download the Chinese version of the configuration file online for reference. [PHP]
: PHP core configuration [XXX]
: XXX extension plug-in configuration

The above is the detailed content of Detailed explanation of the uses of php.ini and phpinfo(). For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete