Re: php 4 & php 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Abandon all your hopes, this will not work (unless you do some heavy 
programming/patching) because modules interfere with each other. I've been 
trying this for a week without success.

Still the best/easiest approach is to set up ordinary apache/PHP4 server 
combination with proxy support compiled in, then configure it to forward 
all .php5 requests to another apache/PHP5 server (listening i.e. internally 
on 127.0.0.1:81)

PHP3/PHP4 was a diffferent situation, do not compare it to this one.


Bostjan




On Wednesday 16 March 2005 13:45, Kim Madsen wrote:
> -----Original Message-----
> From: Rasmus Lerdorf [mailto:rasmus@xxxxxxxxxxx]
> Sent: Tuesday, March 15, 2005 4:05 AM
>
> > > That's why I'd like to stick with apache2 + php5 default and
> > > apache2+php4 just for a single site hosted (the one that uses imp).
> >
> > See my previous message describing the ProxyPass approach.  It is by far
> > the easiest way to solve this cleanly.
>
> I´ve only been on the list for a couple of weeks, so sorry if it´s already
> been answered but couldn´t one use 2 AddTypes?
>
> LoadModule php4_module libexec/libphp4.so
> AddType application/x-httpd-php .php4
>
> LoadModule php5_module libexec/libphp5.so
> AddType application/x-httpd-php5 .php .php5
>
> AddModule mod_php4.c
> AddModule mod_php5.c
>
> I believe that´s how we did it while testing 3 vs 4 at one of my previous
> jobs (the ISP World Online/Tiscali), worked for hosted customers aswell.
>
> --
> Med venlig hilsen / best regards
> ComX Networks A/S
> Kim Madsen
> Systemudvikler
> Naverland 31
>
> DK-2600 Glostrup
> www.comx.dk
> Telefon: +45 70 25 74 74
> Telefax: +45 70 25 73 74
> E-mail: km@xxxxxxx

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux