We can't.

Apache loads our php5apache.dll, which is linked to php5ts.dll.
This dep needs to be resolved at load time, which is to say that
Apache has to do something about it.  There is no way to set an
"rpath" under windows, so adding any code to set up the dll directory
(ala SetDllDirectory) would have no useful effect.  In addition,
calling something like SetDllDirectory from within a DLL is evil,
since it will screw up the settings for the process (which we don't
own) and break other apache modules.

The only valid solution is to set the PATH prior to running Apache or IIS.

--Wez.

On Fri, 30 Jul 2004 18:55:05 +0100, Nuno Lopes <[EMAIL PROTECTED]> wrote:
> > Why not dump all the dlls in the same directory of the PHP binary?
> 
> That would be perfect!
> 
> Currently we have a big dilema in how to advise users to install PHP on
> windows. If puts dlls in the system/apache dir, put the php dir in the path,
> etc...
> 
> If you could change the apache module in a way that all dlls could be found
> in the main C:\php dir, it would be great!
> 
> Nuno

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to