PHP code example of dedermus / phpinfo

1. Go to this page and download the library: Download dedermus/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/ */

    

dedermus / phpinfo example snippets


    'extensions' => [

        'phpinfo' => [

            // Set this to false if you want to disable this extension
            'enable' => true,

            // What information to show,see http://php.net/manual/en/function.phpinfo.php#refsect1-function.phpinfo-parameters
            'what' => INFO_ALL,

            // Set access path,defaults to `phpinfo`
            //'path' => '~phpinfo',
        ]
    ]