extension=php_oci8.dll

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

extension=php_oci8.dll

Postby knucklehead » 21. February 2008 17:24

Hello,

I'm having problems getting PHPINFO() to see the php_oci8.dll extension. I have enabled the extension in the C:\xampp\apache\bin\php.ini file but still no dice. Is there anything else I can try to get this work? Thanks.

-KH
knucklehead
 
Posts: 2
Joined: 21. February 2008 17:14

Postby Wiedmann » 21. February 2008 19:02

I have enabled the extension in the C:\xampp\apache\bin\php.ini

This is the "php.ini", your PHP is using?

I'm having problems getting PHPINFO() to see the php_oci8.dll extension

You have installled the correct Oracle - client and PHP can find it (system PATH variable)?

Anything in the "error.log"?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby knucklehead » 21. February 2008 21:23

Wiedmann Thanks for the reply.

I confirmed the php.ini file was the correct location based on phpinfo() and installed the instantclient with correct ENVIRONMENT variables set.

The error.log file helped me understand the problem. It showed, "PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\xampp\\php\\ext\\php_oci8.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0"

I had installed the x64 version of the instant client and needed to have the x86 version. After I made this adjustment phpinfo() reports the oci8 extension now.

Thanks again for the reply.
knucklehead
 
Posts: 2
Joined: 21. February 2008 17:14


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 107 guests