Skip to Main Content

Connection problem between oracle and php

995933Mar 10 2013 — edited Mar 11 2013
I installed Oracle 11g client and APM7(Apache, PHP, MYSQL), and made connection between them.
PHP version is 5.2.12 in APM7

However, there is an error message when I used oracle methods in PHP.
The error message is 'Call to undefined function'.
I think this error message causes from connection between oracle and php.


and 'Configure Command' message in PHP information page, it shows that

cscript /nologo configure.js "--enable-snapshot-build" "--disable-isapi" "--enable-debug-pack" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--with-mcrypt=static" "--disable-static-analyze" "--with-pgo"

I thought above information is problem, especially 'with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared'
because, above folder does not exist.

I added 'oci' in php.ini extention, but it still doesn't work.

My OS is Windoows XP.
Please solve this problem.

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked due to inactivity on Apr 8 2013
Added on Mar 10 2013
1 comment
3,684 views