I put together a test page (test.php) with content <?php php_info(); ?>.
When the page is displayed, I don't see anything related to OCI8. To
Rick's point, the module isn't being uploaded. I believe I know why it
isn't loading. I don't believe the ISAPI PHP module is loading the right
PHP.ini (ini) file. When I run php at the CLI, it loads the ini in the
same directory as PHP's executable (c:\php\) i.e., it loads

C:\>php --ini
Configuration File (php.ini) Path: C:\WINDOWS
Loaded Configuration File:         C:\PHP\php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed:      (none)

When I look at the php information displayed by my test page, it looks
like php is looking for an ini-file in the C:\Windows\ directory.

Configuration File (php.ini) Path -> C:\WINDOWS
Loaded Configuration File -> (none)

This gets better. When process the page on the CLI (e.g., php -f
<file>), it processes without an issue. As stated before, it (the same
page) fails when processed thru IIS.

I need to do some more work to get this fixed, but your comments were a
big help. Thanks! 


-----Original Message-----
From: Chris [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 24, 2008 5:54 PM
To: Fortuno, Adam
Subject: Re: [PHP-DB] Unable to Login to Oracle 9i-R2 Database Using PHP

> Rick, when I delve into the php_info() shmaz, I see this snipet - see
> below. I'm not sure if I should be looking for something else or not.

Try doing this from a web page. Maybe it has a different php.ini or 

Anything in the IIS error log (probably goes to the windows logs) ?

Postgresql & php tutorials

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to