php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8806 PEAR.PHP file missing in Win32 install
Submitted: 2001-01-19 11:01 UTC Modified: 2001-02-17 17:20 UTC
From: fernandog at prismainfo dot com Assigned:
Status: Closed Package: PHP options/info functions
PHP Version: 4.0.4pl1 OS: win98
Private report: No CVE-ID: None
 [2001-01-19 11:01 UTC] fernandog at prismainfo dot com
I want to use the DB library for connection to a mysql
database. I am missing the file PEAR.DB in the pear
directory of the win32 install.
this has a class for error reporting so I can't use
the DB classes without this.
where can I get that file?

thanks
fernando gonzalez

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-17 17:20 UTC] sbergmann@php.net
The make process builds PEAR.php from PEAR.php.in, but not on the Windows platform.

Just copy PEAR to a directory of your choice, rename PEAR.php.in to PEAR.php and edit the following lines in it 

  define('PHP_BINDIR', '@prefix@/bin');
  define('PEAR_INSTALL_DIR', '@PEAR_INSTALLDIR@');
  define('PEAR_EXTENSION_DIR', '@EXTENSION_DIR@');

to fit your environment.

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Sep 15 18:01:27 2019 UTC