|
Posted by joshua.wehner on 01/13/06 16:50
I can't seem to get PEAR to work, but I think it's installed. Any
ideas?
phpinfo() says '--with-pear=/usr/local/apache/php-pear'
$ which pear
/usr/local/bin/pear
$ pear list
Installed packages:
===================
Package Version State
Archive_Tar 1.1 stable
Console_Getopt 1.2 stable
DB 1.7.6 stable
HTTP 1.2.2 stable
Mail 1.1.3 stable
Net_SMTP 1.2.3 stable
Net_Socket 1.0.1 stable
PEAR 1.3.2 stable
XML_Parser 1.0.1 stable
XML_RPC 1.1.0 stable
$ pear info db
About DB-1.7.6
==============
Provides Classes: DB, DB_common, DB_dbase, DB_fbsql,
DB_ibase, DB_ifx, DB_msql, DB_mssql, DB_mysql,
DB_mysqli, DB_oci8, DB_odbc, DB_pgsql,
DB_sybase, DB_storage, DB_sqlite
Package DB
Summary Database Abstraction Layer
Description DB is a database abstraction layer providing:
* an OO-style query API
* portability features that make programs
written for one DBMS work with other DBMS's
* a DSN (data source name) format for specifying
database servers
* prepare/execute (bind) emulation for databases
that don't support it natively
* a result object for each query response
* portable error codes
* sequence emulation
* sequential and non-sequential row fetching as
well as bulk fetching
* formats fetched rows as associative arrays,
ordered arrays or objects
* row limit support
* transactions support
* table information interface
* DocBook and phpDocumentor API documentation
DB layers itself on top of PHP's existing
database extensions.
Drivers for the following extensions pass
the complete test suite and provide
interchangeability when all of DB's
portability options are enabled:
fbsql, ibase, informix, msql, mssql,
mysql, mysqli, oci8, odbc, pgsql,
sqlite and sybase.
There is also a driver for the dbase
extension, but it can't be used
interchangeably because dbase doesn't
support many standard DBMS features.
DB is compatible with both PHP 4 and PHP 5.
Maintainers Stig Bakken <stig@php.net> (developer)
Tomas V.V.Cox <cox@idecnet.com> (developer)
Daniel Convissor <danielc@php.net> (lead)
Lukas Kahwe Smith <smith@backendmedia.com>
(helper)
Version 1.7.6
Release Date 2005-04-11
Release License PHP License
Release State stable
Release Notes common:
* Fix the docblocks regarding
DB_FETCHMODE_FLIPPED. Bug 4027.
oic8:
* Provide BC hack for those connecting to oci8
using 'hostspec' instead of 'database'. Bug
4104.
Release Deps PHP >= 4.2.0
Package PEAR >= 1.0b1
Last Modified 2006-01-13
$ php josh_test.php // sample code
DB Error: extension not found
$
Navigation:
[Reply to this message]
|