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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fernandog at prismainfo dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 08:01:29 2025 UTC