War*_*rej 2 php oracle ubuntu pdo oracle-call-interface
我试过安装OCI,所以我可以使用新的PDO("oci:dbname ...
经过1,5小时的战斗,我安装了oracle instantclient(基本和sdk),然后安装了oci for php(如http://ubuntuforums.org/showthread.php?t=92528所述).
现在我有点困惑,因为我的PHPinfo告诉OCI8支持已启用,但在PDO部分中,"PDO驱动程序"部分中只有odbc.
我什么时候出错?
PS我有XUBUNTU 12.10并安装了以下数据包:php-pear,php5,php5-cli,php5-common,php5-dbg,php5-dev,php5-odbc
编辑:谢谢你的解释.现在我正试图在此之后安装"pdo_oci":http://lacot.org/blog/2009/11/03/ubuntu-php5-oci8-and-pdo_oci-the-perfect-install.html
现在调用这个:
/usr/local/src/PDO_OCI-1.0# ./configure --with-oci8 = instantclient,/ opt/oracle/instantclient,12.1
我收到以下错误:
configure:error:Oracle-OCI需要在/ opt/oracle/instantclient下找不到的库
我想知道在Windows上这样做是否会更容易.
| 归档时间: |
|
| 查看次数: |
15532 次 |
| 最近记录: |