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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 15:01:27 2025 UTC