RE: [PHP] PHP4 and PHP5 at one machine
| From: | Ford, Mike [LSS] | Date: | Wed, 09 Jul 2003 10:32:51 +0000 |
| Subject: | RE: [PHP] PHP4 and PHP5 at one machine | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-154516@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Milan Reznicek [mailto:reznicekm@gytool.cz]
> Sent: 09 July 2003 07:38
>
> Yes all these things I know, because already I'm running
> these two servers,
> but both with PHP4.
> But now I came accros the problem of "php4ts.dll". Because in
> both versiones
> it has the same name. And if I have the old one my \WINNT\SYSTEM32 the
> server which is running PHP5 won't start, and if i put there
> the newer one
> the one with PHP4 won't start. That's my problem. Do you know
> how to solve
> this?
Don't put either php4apache.dll (or equivalent) or php4ts.dll in your
Windows directory. Put the files for each version in separate directories
specific to the version (say, C:\php\4.3.2\dlls and C:\php\5.0.0\dlls), then
in your Apache .conf file specifically name this location in your LoadModule
command -- for instance:
Module php4_module c:/php/4.3.2/dlls/php4apache.dll
This has worked fine for me for a while now.
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211