php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46635 Unable to load extention
Submitted: 2008-11-20 21:30 UTC Modified: 2009-05-26 08:00 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: R dot Scholtens at Onninet dot com Assigned:
Status: Not a bug Package: MSSQL related
PHP Version: 5.2.6 OS: Windows 2003 Server
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
32 - 7 = ?
Subscribe to this entry?

 
 [2008-11-20 21:30 UTC] R dot Scholtens at Onninet dot com
Description:
------------
The php_mssql.dll extension is failing to load,
apache is giving the following error: 

PHP Warning:  PHP Startup: Unable to load dynamic library 'D:\\Server\\Php\\ext\\php_mssql.dll' - The specified module could not be found.\r\n in Unknown on line 0

The extension is in that directory but is not seeming to load.
The file ntwdblib.dll is already in system32 and it still keeps failing.

Current settings:
extension_dir = "D:\Server\Php\ext\"

extension=php_mssql.dll

Installation from the Native SQL client from:
http://www.microsoft.com/downloads/details.aspx?familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang=en#filelist

Expected result:
----------------
I except the Mssql extension to load so I can build a connection to a mssql server


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-25 19:49 UTC] kalle@php.net
Try add the path to php to your PATH env. variable, restart your webserver and see if it works. This can be due to ntwdblib.dll (the distributed version) is in the root and the dll will not load if that dependency isn't found.
 [2009-05-26 08:00 UTC] pajoye@php.net
Please ask for support in php-general or php-windows. Also note that the php 5.2 sqlserver extensions do not support the latest SqlServer DLLs but only the one we bundle in the release.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Feb 29 00:01:28 2024 UTC