1. screenshot 1
  2. screenshot 2
  3. screenshot 3
  1. <?php
  2. /**
  3.  * PEAR_Info Request #13741 : show list if potential config files
  4.  *
  5.  * @link http://pear.php.net/bugs/bug.php?id=13741
  6.  *
  7.  * Use the new selectors of default stylesheet available in PEAR{data_dir}/PEAR_Info
  8.  *
  9.  * dl { margin: 0 }
  10.  *
  11.  * dd.cfg_found { color: green; }
  12.  * dd.cfg_notfound { color: red; }
  13.  *
  14.  * NOTICE:
  15.  * In this example we simulate 3 cases, a given pear directory
  16.  * 1. with a user file, but without system file
  17.  * 2. with a system file, but without user file
  18.  * 3. with both a user and a system file
  19.  */
  20.  
  21. require_once 'PEAR/Info.php';
  22.  
  23. $info = new PEAR_Info('c:\wamp\bin\php\php5.2.6');
  24. $info->display();
  25. ?>