Io ho semplicemente fatto cosė:
Nessuna ricompilazione
codice:PEAR # yum install php-pear Loading "installonlyn" plugin ..... Installing: php-pear ######################### [1/1] Installed: php-pear.noarch 1:1.4.9-4 Complete! [root@guinness testing]# INSTALLO MDB2 # pear install MDB2 WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update downloading MDB2-2.4.1.tgz ... Starting to download MDB2-2.4.1.tgz (119,790 bytes) .................done: 119,790 bytes install ok: channel://pear.php.net/MDB2-2.4.1 MDB2: Optional feature fbsql available (Frontbase SQL driver for MDB2) MDB2: Optional feature ibase available (Interbase/Firebird driver for MDB2) MDB2: Optional feature mysql available (MySQL driver for MDB2) MDB2: Optional feature mysqli available (MySQLi driver for MDB2) MDB2: Optional feature mssql available (MS SQL Server driver for MDB2) MDB2: Optional feature oci8 available (Oracle driver for MDB2) MDB2: Optional feature pgsql available (PostgreSQL driver for MDB2) MDB2: Optional feature querysim available (Querysim driver for MDB2) MDB2: Optional feature sqlite available (SQLite2 driver for MDB2) To install use "pear install pear/MDB2#featurename" PHP-MSSQL # yum install php-mssql Loading "installonlyn" plugin ..... Installing: unixODBC ######################### [1/3] Installing: freetds ######################### [2/3] Installing: php-mssql ######################### [3/3] Installed: php-mssql.i386 0:5.1.6-15.el5.centos.1 Dependency Installed: freetds.i386 0:0.64-11.el5.centos unixODBC.i386 0:2.2.11-7.1 Complete! MDB2#MSSQL # pear install MDB2#mssql Skipping package "pear/MDB2", already installed as version 2.4.1 downloading MDB2_Driver_mssql-1.2.1.tgz ... Starting to download MDB2_Driver_mssql-1.2.1.tgz (29,471 bytes) .........done: 29,471 bytes install ok: channel://pear.php.net/MDB2_Driver_mssql-1.2.1



Rispondi quotando