Page 1 of 1

Oracle Database Issues

Posted: Sat Apr 22, 2006 2:35 am
by naveed_BTL
hi
I have problems about oracle database connectivity through PHP.
I tried different methods.

I have installed The AppServ Open Project - 2.5.5 for Windows, which is installer of (PHP,mysql,Apache,PHPMYADMIN) search it on http://www.sourceforge.net.

Now see what is my problem.

I have installed oracle 8i & Developer 6i on same PC.

I use 3 methods to connect oracle.

Standard ORacle Extension (ORA Functions) (php_oracle.dll)
OCI Extension (Php_OCI8.dll)
ODBC

All works if oracle is intalled on same PC (php & oracle on same PC)

If oracle is intsalled on separate PC(database server)

Then Ora extension works. I do not want to use ora extesnion because it has limitations.

I want to use OCI to connect to database that is on separate server.
I can not use this extension, becuase when i removes ; from
;extension=php_oci8.dll
in php.ini file.
Apache gives the following error.
PHP startup: Unable to load dynamic library c:/AppServ\php\ext\php_oci8.dll The specified moudule could not be found.
But Extension is there.


Any one have worked on OCI (by putting oracle on separate server).

Waiting for cooperation
Thanks

Posted: Sat Apr 22, 2006 9:24 am
by feyd
Is the file there? If it is, it likely needs another DLL that it cannot find to properly load. The manual suggests installing this to get all the required files available.