|
Posted by Thomas Mlynarczyk on 10/29/07 19:54
Also sprach artev:
> but you have both php4 and php5 how cgi?
Yes, on my developement server, I run all PHP versions as CGI, because
- it's easier to set up
- I can run as many PHP versions as I want
- changes in php.ini take effect immediately (no need to restart Apache)
> I read a solution
> that use PHP 5 how CGI on Apache port dedicated
Yes, that would be another solution. I have not tried it, though.
> so the php4 can it used how module;
On my server (I'm using XAMPP), PHP is also running as a module, so you can
have that in addition to the CGI versions. Is it really necessary for you to
have PHP run as a module?
> (I want use at the moment php5 only for two applications)
Think of the future: PHP4 will no longer be supported, and PHP6 is to come
out soon (read: sooner or later).
> the trick is to setting a virtualhost on one other port,
> so cgi and module functioning are separated in security mode
> and is possible to use same environment, same webserver and sam
> document_root
Yes, with additional requirements you may have to do it this way. Your
original post, however, was simply about the question of running different
PHP versions concurrently. You had not mentioned any additional constraints.
[Apache configuration using two different ports]
> think is onoother good solutions?
As I said, I have never tried this solution. To me, it seems a bit
complicated (what if you want more than two PHP versions?), but it really
depends on your specific needs.
Greetings,
Thomas
--
C'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison!
(Coluche)
Navigation:
[Reply to this message]
|