Activate PDO_OCI

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Activate PDO_OCI

Postby caribeanpirate » 13. February 2012 18:22

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.
caribeanpirate
 
Posts: 3
Joined: 13. February 2012 18:15
Operating System: Windows XP

Re: Activate PDO_OCI

Postby Altrea » 14. February 2012 04:46

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
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Activate PDO_OCI

Postby caribeanpirate » 14. February 2012 10:44

Thanks Altrea.
When you say oci.dll you are talking about the php_pdo_oci.dll or about another oci.dll?
caribeanpirate
 
Posts: 3
Joined: 13. February 2012 18:15
Operating System: Windows XP

Re: Activate PDO_OCI

Postby Altrea » 14. February 2012 17:10

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
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Activate PDO_OCI

Postby caribeanpirate » 14. February 2012 17:13

Thank you very much.
caribeanpirate
 
Posts: 3
Joined: 13. February 2012 18:15
Operating System: Windows XP


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 42 guests