RE: [PHP-DB] Unable to Login to Oracle 9i-R2 Database Using PHP 5.2.5

[email protected] ("Fortuno, Adam")
Newsgroups php.db
Message-ID <CED447ECB4C001419947EBF4776E503203ADB433@ghrintallmsg2.CORPORATE.GHRSYS.AD>
Chris/Rick/Neil,

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\php.ini. 

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! 

A-

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


> 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 
something.

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

-- 
Postgresql & php tutorials
http://www.designmagick.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.