[PHP-DOC] Re: [PHP-DEV] Re: Documentation problem From: Christoph Steinmann (c.steinmann <email protected>)
Date: 07/12/01

in Beitrag NFBBLKGFMLPGCFGDOAAAMEBDCDAA.arnaud.klamecki <email protected> schrieb
Arnaud Klamecki unter arnaud.klamecki <email protected> am 12.7.2001 09:05 :

> It looks strange in fact, i'll re-take a look on my conf to see what would
> be wrong... the fact is have no IIS experience using ISAPI modules under Win
> NT 4 only Win 2K...
>
>
> -----Message d'origine-----
> De : Phil Driscoll [mailto:phil <email protected>]
> Envoyé : mercredi 11 juillet 2001 18:50
> À : Thomas Schöfbeck; php-dev <email protected>; phpdoc <email protected>;
> Arnaud Klamecki
> Objet : Re: [PHP-DEV] Re: Documentation problem
>
>
> On Wednesday 11 July 2001 17:23, Thomas Schöfbeck wrote:
>> Hello!
>>
>> I'm just working on the translation of this chapter I've recognized
> several
>> things which should be changed.
>>
>> I'll take over these changes in the manual.
>
> In my experience on my NT server machines I have NEVER had to copy any of
> the
> php dlls out of the installation directory (typically C:\php). Over the last
> year I have used php with IIS (cgi and isapi), Apache (cgi and module), PWS
> on NT workstation and Xitami.
> There's nothing out of the ordinary about my machines. Things may be
> different on Win2K of course.
>
> Cheers
> --
> Phil Driscoll
>
>
Hi

I think the problem is the following:

Until 4.03 or so, php4isapi.dll was in the main php directory. Then it moved
to phpdir/sapi. If you call php4isapi.dll it will only look for dlls in its
own directory and in the system path. So if php4ts.dll resides in the system
path or in the same directory as php4isapi.dll everything will work fine. If
not, php4isapi.dll will not be able to find php4ts.dll and will not work.

So there are three solutions to get php to work with any sapi module:
- add phpdir to the system path
- copy php4ts.dll to somewhere in the existing system path
- copy the needed sapi module to the same directory as php4ts.dll

Christoph