PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
spamyboy
Forum Contributor
Posts: 266 Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius
Post
by spamyboy » Thu Jan 12, 2006 3:19 pm
Unknow(): Unable to load dynamic library 'C:\AppServ\php\extensions\php_mssql.dll" - The specified module could not be found.
Maybe anyone know's how to dix it ?
Charles256
DevNet Resident
Posts: 1375 Joined: Fri Sep 16, 2005 9:06 pm
Post
by Charles256 » Thu Jan 12, 2006 3:23 pm
have ya googled yet? that's a pretty common error.
spamyboy
Forum Contributor
Posts: 266 Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius
Post
by spamyboy » Thu Jan 12, 2006 3:27 pm
yes i did't but it's didt work ;/
timvw
DevNet Master
Posts: 4897 Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium
Post
by timvw » Thu Jan 12, 2006 3:35 pm
Does the dll exist? Is it where it should be? (I believe the php win32 zip / not the installer has the required dll, otherwise its very possible that it exists in the pecl package)
spamyboy
Forum Contributor
Posts: 266 Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius
Post
by spamyboy » Thu Jan 12, 2006 3:43 pm
Does the dll exist?
yes
Is it where it should be?
yes
timvw
DevNet Master
Posts: 4897 Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium
Post
by timvw » Thu Jan 12, 2006 4:04 pm
why does php complain then? because overhere it simply works when those 2 conditions are fullfilled...
redmonkey
Forum Regular
Posts: 836 Joined: Thu Dec 18, 2003 3:58 pm
Post
by redmonkey » Thu Jan 12, 2006 4:09 pm
php_mssql.dll has a dependancy on ntwdblib.dll, you need to ensure that ntwdblib.dll is also available to your system's path environment.
Details of module/extension dependencies can be found in the snapshot.txt file.
spamyboy
Forum Contributor
Posts: 266 Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius
Post
by spamyboy » Thu Jan 12, 2006 4:21 pm
There is no shich file as ntwdblib.dll in my PC, what to do ?!
redmonkey
Forum Regular
Posts: 836 Joined: Thu Dec 18, 2003 3:58 pm
Post
by redmonkey » Thu Jan 12, 2006 4:28 pm
The .zip packages from
http://www.php.net contain the modules/extensions and any required additional .dll files. I'd suggest you start there.
spamyboy
Forum Contributor
Posts: 266 Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius
Post
by spamyboy » Thu Jan 12, 2006 4:42 pm
still same error
redmonkey
Forum Regular
Posts: 836 Joined: Thu Dec 18, 2003 3:58 pm
Post
by redmonkey » Thu Jan 12, 2006 4:58 pm
Well, that's about as much as I can suggest given the information you have supplied.
Perhaps if you can give details for the following questions someone else may be able to you..
1. Which directory have you placed the ntwdblib.dll file in?
2. Which directory is the php_mssql.dll file in?
3. Which directory does your extension_dir variable point to within php.ini?
4. Which directory is your PHP executable in? (this depends on how you are trying to run PHP)
5. Do you have another version of PHP installed and possibly running into version conflicts?
spamyboy
Forum Contributor
Posts: 266 Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius
Post
by spamyboy » Thu Jan 12, 2006 5:11 pm
1. C:\AppServ\PHP
2. C:\AppServ\PHP\ext; C:\AppServ\PHP\extensions
3. Wtf ?
4. C:\AppServ\apache
5. Nop
spamyboy
Forum Contributor
Posts: 266 Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius
Post
by spamyboy » Sat Jan 14, 2006 8:41 am
Well ? i wait more than 2 day's and no one didn't reply ..
So that's mean noone don't know?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Sat Jan 14, 2006 8:43 am
have some freaking patience, we have other lives outside of
volunteering on this forum..