NOT show Pear Info page - but ok by command pear info

Problems with the Windows version of XAMPP, questions, comments, and anything related.

NOT show Pear Info page - but ok by command pear info

Postby YoshF » 07. June 2012 13:54

I installed zip version of xampp 1.7.7 in Vista machine.

Would somebody tell me how to fix the following problem?
I cannot show Pear Info by the following code.
I get, 'PEAR configuration files "\xampp\php\pear.ini", "\xampp\php\pearsys.ini" does not exist' in the very bottom.
The file, pear ini, surely exists in \xampp\php folder.

<?php
error_reporting(E_ALL & ~E_DEPRECATED);
require_once 'PEAR/Info.php';
$info = new PEAR_Info();
$info->show();
?>
Without the first line in the code, I see
Strict Standards: Redefining already defined constructor for class PEAR_Info in [...]\xampp\php\PEAR\PEAR\Info.php
massive lines of warning lines with
Deprecated: Assigning the return value of new by reference is deprecated in [...]\xampp\php\PEAR\PEAR\Config.php

Good news:
I can show the php info page.
I also get information by command line:
pear info PEAR.
I see Pear_Info in the generated list.

Thank you very much.
YoshF
 
Posts: 6
Joined: 30. May 2009 19:31

Return to XAMPP for Windows

Who is online

Users browsing this forum: suze5544 and 66 guests