php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19758 Loading extensions isn't functional
Submitted: 2002-10-04 15:17 UTC Modified: 2003-01-08 04:27 UTC
From: cbrady at sbccd dot cc dot ca dot us Assigned:
Status: Not a bug Package: Dynamic loading
PHP Version: 4.2.3 OS: Win 2000 Server
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: cbrady at sbccd dot cc dot ca dot us
New email:
PHP Version: OS:

 

 [2002-10-04 15:17 UTC] cbrady at sbccd dot cc dot ca dot us
Well, since I thought I might have something miss installed, I've gone
ahead and re-started my Win2000 Server installation.

I'm back to the same problem however. 

Error Message:

"Unable to load dynamic library 'd:\php\extensions\php_mssql.dll' - The specified module could not be found"

Any directory I specify for the
extension_dir dll's, won't work. I've tried, d:\php\extensions,
d:\php\\extensions\, d:\\php\\extensions, d:\\php\exetensions\\,
d:/php/extensions, d://php//extensions,
d://php/extensions/, d://php//extensions//

I've attempted as well to move the dll into the system 32 directory, and
in the same directory has the php.exe file. No luck.

Below are my specifications:

Server: Dell Power App 120 Server, SCSI hard drives.
OS: Window 2000 Server running IIS 5
PHP: Version 4.2.3 running ISAP installation

Php ini file : c:\WINNT\php.ini
Php directory : d:\php
Extension directory : d:\php\extensions

Note: I've installed this same version on 6 other Win2000 clients (Pro
and Server) with IIS 5, and have not run into this problem before. The
only main difference is that its a Power App Server, with SCSI drives.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-05 02:53 UTC] sander@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.

You need to install the MSSSQL client DLLs.
 [2002-10-07 13:09 UTC] cbrady at sbccd dot cc dot ca dot us
My appologizes for posting this report, if this truly isn't a bug.

However, Win 2000 Server comes with the mssql drivers, so all that is needed is to load the php_mssql.dll. But, your extenesion_dir isn't functioning so I can't do that.

I find it hard to believe, that with the correct configuration for the extenesion_dir, and that it wouldn't ready any dll's in the specified directory, you don't call this a bug.

I said before that I've installed php on 5 other windows 2000 computers, so I know my php.ini is correct.

Thanks for the help. I just hope support doesn't send me back here.
 [2002-11-01 14:46 UTC] cbrady at sbccd dot cc dot ca dot us
For those who read this, here was the resolution to the problem:

php_mssql.dll uses other dlls to function. These DLL's are located in the DLL directory under the php directory. These need to be placed it the System32 directory on your machine.

In my particular case, the ntwdblib.dll wasn't in the directory. Once placed it worked fine.

However, I would still call this a bug. The Error message incorrectly notifies us of this problem. It says can't find php_mssql.php dll, but acctually it should of said "ntwdblib.dll DLL not found"
 [2002-11-01 21:46 UTC] sniper@php.net
still bogus, try reading the docs more often..

 [2003-01-08 03:19 UTC] bndya at lycos dot com
I don't have the extensions and dlls folder under php directory. So from where am I suppose to get dlls which are reqd for GD lib. I took it from the some other server where (php ver was 4.0.6) and kept it in the system32 folder. 
Version php 4.2.3 and IIS5.0. 
I tried everything from extension_dir to putting those dlls in system 32 etc.
I need to solve this what shall i do?
 [2003-01-08 04:27 UTC] nicos@php.net
If you need any help please see http://www.php.net/support.php .

Thank you for your report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 13:01:29 2024 UTC