P. 1
The Underground PHP and Oracle Manual

The Underground PHP and Oracle Manual

|Views: 38|Likes:
Published by silviupirvu

More info:

Published by: silviupirvu on Nov 18, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/07/2011

pdf

text

original

The PDO_OCI driver for PDO is included with PHP source code and, like OCI8, is also available on PECL.
The PHP community has let the PDO project languish and Oracle recommends using OCI8 instead
whenever possible because of its better feature set, performance and reliability. Only a few minor changes
have been made to PDO_OCI in PHP releases since its introduction. The version of PDO_OCI on PECL has
not been updated with these fixes and is still at version 1.0.
PDO_OCI is independent of OCI8 and has no code in common with it. The extensions can be enabled
separately or at the same time.
Table 3 shows the compatibility of the PDO_OCI driver with PHP and Oracle.

Table 3: PDO_OCI Availability and Compatibility.

Bundle Containing
PDO_OCI

Location and Current Release

Oracle Client Libraries
Usable with PDO_OCI

PHP Source Code

http://www.php.net/downloads.php

php-5.2.7.tar.bz2

Compiles and runs on many platforms

8i, 9i, 10g, 11g

PHP Windows Binarieshttp://www.php.net/downloads.php

php-5.2.7-Win32.zip

8i, 9i, 10g, 11g

16

Getting the PDO Extension

Bundle Containing
PDO_OCI

Location and Current Release

Oracle Client Libraries
Usable with PDO_OCI

PECL Source Code

http://pecl.php.net/package/PDO_OCI

PDO_OCI-1.0.tgz

8i, 9i, 10g (no 11g support)

Zend Core for Oracle 2.5http://www.oracle.com/technology/tech/
php/zendcore/

ZendCoreForOracle-v2.5.0-Linux-x86.tar.gz
ZendCoreforOracle-v.2.5.0-Windows-x86.exe

Other platforms are also available

Inbuilt Oracle Database 10g
client

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->