I just upgraded to php 4.0.3 from php 4.0.2.

I'm running Win32 Apache 1.3.12 on Win2k.

I'm loading the extension php_mssql70.dll

Well I'm -trying- to load it anyway. Under php 4.0.2 every thing worked fine. Now running 4.0.3 any time i load a .php page it gives the error:

Warning:
"Unable to load dynamic library 'php_mssql70.dll' - The specified module could not be found."

Of course I have tried specifying a full path, using \ instead of /. Putting the dll in the winnt\system32 folder etc.

I think it is a specific issue dealing with php_mssql70.dll and php 4.0.3 because I can load any other .dll fine, and I tried loading the php_mssql70.dll from php 4.0.2 with no luck as well (same error).

Any help is appriciated... For now I guess I'll be going back to php 4.0.2.

thanks

chris

    Ok, I just realized something. I recently upgraded this box from WinNT 4 to Win2k. I had thought I was loading php_mssql70.dll since I upgraded, but I haven't. I just went back to php 4.0.2 and it still didn't work, and that is when I came to this realization... It really has nothing to do with the versions of php (probably). But rather something odd about my new setup under win2k. I would still appriciate any help on this. Does any data base components need to be setup on my win2k configuration for this module to work?

    Thanks again.
    chris

      You gotta love people that just keep replying to themselves... 🙂

      Anyway, I moved the server over to a NT4 box and everything kicked right in... So there seems to be a compatibility problem with Win2k and my setup... (apache 1.3.12, php 4.0.3 (4.0.2 and .1 also do not work) and php_mssql70.dll).

      Either that or you have to specially configure something in Win2k that I am not aware of... NT4 works just fine without configuring anything special.

      I would still like to be able to use php_mssql70.dll extension on Win2k, so anyone has any luck or knows how to fix this problem let me know. Thanks.

      chris

        hi chrisr,

        i just upgraded to 4.03 myself and had lots of problems with some older extensions.

        the problem was that i had accidentally copied some of these older extensions into my Windows/system directory a long time ago. when php 4.03 looks for extensions, it sometimes gets confused and loads the wrong dll's.

        after deleting all the php_*.dll's from windows/system, everything worked fine. So my tip is to search for all references to php_mssql70.dll and delete all such files if there are not needed.

        hope this helps.

        John

          I have the same configuration in my computer
          Win2kpro+Apache+PHP4.03 and i don't have the dll error reported, but phpinfo() don't display the mssql support. I you solve your problem please send me the solution here
          curdanet@hotmail.com

          Thanks.

          Carlos Urdaneta

            uf, i finally installed apache+php on my win2000 and mssql70.dll too.

            php.ini:

            extension_dir = e:\program files\php\ ; directory in which the loadable extensions (modules) reside

            extension=php_mssql70.dll

            and it asked me for a ntwdblib.dll
            i copy it to winnt/system32 and all is fine

            php now find mssql_connect and other mssql functions although i still cant connect to mssql base 🙁 but it's other problem i think...

              7 days later

              I've had the same problems with Win2K trying to load php_ifx.dll and php_oci8.dll. This happened for both 4.02 and 4.03, I get the same message. Strange, because it will load other .dll files in php.ini which are in the same directory like php_imap.dll ir php_zlib.dll.

              I figured in my case the problem was that I didn't actually HAVE the Informix or Oracle clients installed on the box. I haven't tested this theory yet... Anyone else know?

                8 months later

                Can you tell me where i can get the php_mssql70.dll on a linux machine

                  2 months later
                  8 months later

                  Under Linux, you can't find any dll-File. The PHP-Extension are there like php_mssql70.so.

                    2 months later

                    Well, Andre's right, the DLL application extensions are specific to Windows.
                    Under unices and linuces they are called .so extensions.

                    Damn i'm found once a link where the author of the post said there was the mssql.so lib to download, but now the link is broker :/

                    This lib seems to be as rare as gold...

                      Write a Reply...