Page 1 of 1

extension=php_oci8.dll

PostPosted: 21. February 2008 17:24
by knucklehead
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

PostPosted: 21. February 2008 19:02
by Wiedmann
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"?

PostPosted: 21. February 2008 21:23
by knucklehead
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.