Oracle Database Issues

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
naveed_BTL
Forum Newbie
Posts: 1
Joined: Sat Apr 22, 2006 2:06 am

Oracle Database Issues

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
Post Reply