Re: cvs: php-src /win32 install.txt

From: Date: Fri, 30 Jul 2004 18:08:46 +0000
Subject: Re: cvs: php-src /win32 install.txt
References: 1 2 3 4 5 6  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-28095@lists.php.net to get a copy of this message
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 <nlopess@php.net> 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

« previous php.cvs (#28095) next »