PHP code example of veikejin / phpinfo
1. Go to this page and download the library: Download veikejin/phpinfo library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
veikejin / phpinfo example snippets
'extensions' => [
'phpinfo' => [
// 如果要关掉这个扩展,设置为false
'enable' => true,
// 设置要显示的内容,参考 http://php.net/manual/en/function.phpinfo.php#refsect1-function.phpinfo-parameters
'what' => INFO_ALL,
// 设置访问路径,默认为phpinfo
//'path' => '~phpinfo',
]
]