Forum Moderators: coopster

Message Too Old, No Replies

What is PEAR?

         

anshul

12:31 pm on Aug 9, 2004 (gmt 0)

10+ Year Member



What is PEAR?

--------------------------------------------------------------------------------

What is the use of PEAR?
How can I get it working with localhost IIS

I am using PHP Version 4.3.2
Server API CGI/FastCGI
I've a PEAR directory in c:/php4/includes/pear
whenever I enable it in php.ini, I get errors in my php applications e.g.,

Fatal error: main(): Failed opening required 'mainfile.php' (include_path='C:\php4\includes\pear\') in C:\Inetpub\wwwroot\nuke\html\includes\counter.php on line 25

other examples of error:

Fatal error: main(): Failed opening required 'PEAR.php' (include_path='.;../phpwebsite\lib\pear\') in C:\Inetpub\wwwroot\phpwebsite\lib\pear\HTML\Template\IT.php on line 22

Warning: main(): Failed opening '/path/to/xoops/directory/include/common.php' for inclusion (include_path='.;c:\php4\pear') in C:\Inetpub\wwwroot\xoops\html\mainfile.php on line 60

jatar_k

3:34 pm on Aug 9, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Maybe take a look at this
[pear.php.net...]

mincklerstraat

3:38 pm on Aug 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Pear is a set of classes (or little bits of programs that can't be used just by themselves, but can be coded into other programs to give them more functionality) for PHP. The install to windows should be real easy, I do believe an automatic installer is included in recent versions of PHP.