1. <?php
  2. /**
  3. * Generate default phpinfo() style PEAR information.
  4. *
  5. * @author    Laurent Laville
  6. * @package   PEAR_Info
  7. * @version   $Id:$
  8. * @license   http://www.php.net/license/3_01.txt  PHP License 3.01
  9. * @ignore
  10. */
  11.  
  12. /* May be required on slower (dial-up) connections
  13. ini_set('default_socket_timeout', 600);
  14. ini_set('max_execution_time', 600);
  15. ini_set('max_input_time', 600);
  16. */
  17.  
  18. // require the PEAR_Info file
  19. require_once 'PEAR/Info.php';
  20.  
  21. // If you need to set a http_proxy uncomment the line below
  22. // PEAR_Info::setProxy('your.proxy.here');
  23.  
  24. // Create PEAR_Info object
  25. $info = new PEAR_Info();
  26.  
  27. // Display PEAR_Info output
  28. $info->display();
  29.  
  30. ?>