php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23474 OCI8 loads when apache started from cmd, not when apache started as service
Submitted: 2003-05-03 22:28 UTC Modified: 2003-05-05 16:42 UTC
From: deepblah at yahoo dot com Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 4.3.1 OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: deepblah at yahoo dot com
New email:
PHP Version: OS:

 

 [2003-05-03 22:28 UTC] deepblah at yahoo dot com
Okay, this one starts out as most of the other OCI8-related bogus bugs. But in my opinion, this seems to be a 'real' bug. Here goes:

I have Apache 1.3.27, Oracle 8i EE and PHP 4.3.1 installed on a Windows 2000 system. PHP and Apache worked fine, until I decided to go enable the OCI8 extension. Even after making sure of the following:
1) extension_dir = "C:\php\extensions"
2) oci.dll in %PATH%
apache would complain:
PHP Warning:  Unknown(): Unable to load dynamic library 'c:\php\extensions\php_oci8.dll' - The specified module could not be found.
 in Unknown on line 0

Apache ran (w/o loading OCI8) however.

Following the advice in one of the other posts, I enabled php_exif.dll and that loaded fine.

Eventually, I started apache from commandline, w/o any options and it started fine, and loaded OCI8. (phpinfo() confirmed that.)

But again, when I tried to start apache with the default options, [apache -w -n "Apache" -k start] which essencially starts the service, it popped up the same error. phpinfo() confirmed that OCI8 wasn't loaded.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-04 18:17 UTC] deepblah at yahoo dot com
An update.

The service works now, although I haven't changed anything. I am leaving this bug open, so the developer(s) can look into it regardless, if they wish to.
 [2003-05-05 16:42 UTC] sniper@php.net
If it works -> bogus.

 [2003-05-28 16:25 UTC] asgawth at blueyonder dot co dot uk
I have exactly the same problem but with IIS 5.  What I can add is that the same occurs with most of the other extensions.  Some do load tho.  To name a few php_bz2,php_cpdf,php_exif.

Andrew Gawthrope
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 11 04:01:32 2024 UTC