Re: 4.0.6 mssql.dll Extension load failure
| From: | DL Neil | Date: | Thu, 25 Oct 2001 22:59:08 +0000 |
| Subject: | Re: 4.0.6 mssql.dll Extension load failure | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-10042@lists.php.net to get a copy of this message | ||
> We have PHP installed as an ISAP module on our W2K IIS5 server and
> its operational with no problems - phpinfo() runs just fine.
>
> But - When I uncomment the php_mssql.dll extension in php.ini I get an error
> when PHP starts up saying it cannot find the .dll file.
>
> The extension directory is correctly set to, c:\php\extensions
> and the actual file itself is in that directory as wells as
> c:\winnt\system32 and MSSQL client libraries are loaded and operational.
>
> Cant think of anything else I need to do - does the .dll file need
> be registered with regsrvr or something ??
>
> Can anybody give me some pointers please ?
Mike,
I had to wrestle with this one - it's like a barrel-full of monkeys. Eventually I noticed that
sometimes you can get
away with using Windows \s and sometimes you have to use Unix /s - and what was happening was that
some path strings
were ending up with some \s and some /s and (predictably enough) not working!
My eventual 'solution' cannot decide which way things should go - sometimes to the left,
and sometimes to the right!
Oh and yes, watch out for that last line - I'm using Apache so it doesn't apply. I did run
PHP under Win2000/IIS but
can't recall/reach the setting right now.
Hope it helps,
=dn
----------
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
include_path = "c:\data\webs\includes"
;include_path = ".;c:\progra~1\php\includes"
; The root of the PHP pages, used only if nonempty.
;doc_root = "c:\data\webs"
; The directory under which PHP opens the script using /~usernamem used only
; if nonempty.
user_dir = "c:\data\webs"
; Directory in which the loadable extensions (modules) reside.
;extension_dir = ./
extension_dir = C:/program files/php/extensions
;include_path = ".;c:\progra~1\php\includes"
; Whether or not to enable the dl() function. The dl() function does NOT work
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
; disabled on them.
enable_dl = On
----------