Page 1 of 1

Activate PDO_OCI

PostPosted: 13. February 2012 18:22
by caribeanpirate
Hi,

I need to connect with an Oracle database.
I found the file php_pdo_oci.dll at the ext folder under php folder.
I change the php.ini file deleting de comment (;) before the line with the text "extension=php_pdo_oci.dll" (without quotes), under the [PECL] tag.

But, when I try to start XAMPP (all the services) the operation cancel and show a message saying the library oci.dll is not found.

Who can help me?

Thankyou.

Re: Activate PDO_OCI

PostPosted: 14. February 2012 04:46
by Altrea
Hi caribeanpirate,

you need the oci.dll from your Oracle Instant Client to be available for Apache.
You can copy it to your \xampp\apache\bin\ folder.

best wishes,
Altrea

Re: Activate PDO_OCI

PostPosted: 14. February 2012 10:44
by caribeanpirate
Thanks Altrea.
When you say oci.dll you are talking about the php_pdo_oci.dll or about another oci.dll?

Re: Activate PDO_OCI

PostPosted: 14. February 2012 17:10
by Altrea
Hi caribeanpirate,

caribeanpirate wrote:When you say oci.dll you are talking about the php_pdo_oci.dll or about another oci.dll?

If i am saying oci.dll i am talking about oci.dll and not php_pdo_oci.dll. Look into the installation path of your oracle instant client, it's in there.

best wishes,
Altrea

Re: Activate PDO_OCI

PostPosted: 14. February 2012 17:13
by caribeanpirate
Thank you very much.