[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problemas con php5 y pear



El día 15 de abril de 2009 12:21, Marc <budalokkos@gmail.com> escribió:
> En/na Eduardo R. Barrera Pérez ha escrit:
>>>
>>> El paquete en lenny se llama php-pear y la versión es la 5.2.6
>>>
>>> Suerte
>>>
>>
>> Si, pero yo ya instale ese paquete en lenny y sigo obteniendo los errores
>> de php, ademas si voy a la ruta /usr/share no existe ningun directorio
>> llamado pear en ese lugar.
>>
>>
>>
>
> Hola,
> es momento de que vuelvas a mirar el mensaje de error que te daba PHP:
>
> Warning: include_once(DB.php) [function.include-once]: failed to open
> stream: No existe el fichero o el directorio in
> /usr/share/squirrelmail/functions/abook_database.php on line 14
>
>
> Resulta que DB es un módulo de PEAR, y tienes que instalarlo a parte. El
> paquete que te falta se llama php-db .
>

Si, creo que por ahí van los tiros:
************************************************************************
PHP PEAR Database Abstraction Layer
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 the database'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.
++++++++++++++++++++++++++++++++++++++++++++++++++++++

-- 
usuario linux  #274354
normas de la lista: http://wiki.debian.org/NormasLista


Reply to: