mm_sql error

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

Post Reply
User avatar
spamyboy
Forum Contributor
Posts: 266
Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius

mm_sql error

Post by spamyboy »

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 »

have ya googled yet? that's a pretty common error.
User avatar
spamyboy
Forum Contributor
Posts: 266
Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius

Post by spamyboy »

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 »

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)
User avatar
spamyboy
Forum Contributor
Posts: 266
Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius

Post by spamyboy »

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 »

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 »

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.
User avatar
spamyboy
Forum Contributor
Posts: 266
Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius

Post by spamyboy »

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 »

The .zip packages from http://www.php.net contain the modules/extensions and any required additional .dll files. I'd suggest you start there.
User avatar
spamyboy
Forum Contributor
Posts: 266
Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius

Post by spamyboy »

still same error
redmonkey
Forum Regular
Posts: 836
Joined: Thu Dec 18, 2003 3:58 pm

Post by redmonkey »

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?
User avatar
spamyboy
Forum Contributor
Posts: 266
Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius

Post by spamyboy »

1. C:\AppServ\PHP
2. C:\AppServ\PHP\ext; C:\AppServ\PHP\extensions
3. Wtf ?
4. C:\AppServ\apache
5. Nop
User avatar
spamyboy
Forum Contributor
Posts: 266
Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius

Post by spamyboy »

Well ? i wait more than 2 day's and no one didn't reply ..
So that's mean noone don't know?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

have some freaking patience, we have other lives outside of volunteering on this forum.. :roll:
Post Reply