ispCP - Board - Support
FastCGI -> PHP4 + PHP5 möglich? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: German Corner (/forum-26.html)
+--- Thread: FastCGI -> PHP4 + PHP5 möglich? (/thread-1742.html)



FastCGI -> PHP4 + PHP5 möglich? - Dexus - 11-09-2007 01:42 AM

Hallo, wollte man fragen ob es möglich ist php4 und PHP5 parallel zu benutzen? also auf 1 Domain / User...


RE: FastCGI -> PHP4 + PHP5 möglich? - BeNe - 11-09-2007 01:48 AM

Nein!
Wobei,es gab mal irgendwo eine Anleitung um die Dateien immer mit .php4 und .php5 zu speichern. Aber ob das funktioniert hat Rolleyes
Habe es nie getestet...

Greez BeNe


RE: FastCGI -> PHP4 + PHP5 möglich? - zpin - 11-09-2007 02:25 AM

Hab bei mir das in apache2/mods-available/fastcgi_ispcp.conf, funzt ganz gut.
Code:
#
    # PHP4 SUPPORT
    #

    AddHandler application/x-httpd-php4 .php4
    <Location /php4/php4-fcgi-starter>
        SetHandler fastcgi-script
        Options +ExecCGI
    </Location>

    Action application/x-httpd-php4 /php4/php4-fcgi-starter
    AddType application/x-httpd-php4 .php4

    #
    # PHP5 SUPPORT
    #

    AddHandler application/x-httpd-php5 .php .php5

    <Location /php5/php5-fcgi-starter>
        SetHandler fastcgi-script
        Options +ExecCGI
    </Location>

    Action application/x-httpd-php5 /php5/php5-fcgi-starter
    AddType application/x-httpd-php5 .php .php5



RE: FastCGI -> PHP4 + PHP5 möglich? - gOOvER - 11-09-2007 03:09 AM

Was für einen Sinn sollte das machen. PHP4 ist tot Smile Ich persönlich installiere keinerlei Scripte mehr, die nur unter Php4 laufen.


RE: FastCGI -> PHP4 + PHP5 möglich? - Dexus - 11-09-2007 03:17 AM

Naja aber manchmal ist es ein vorteil beies zu haben ;D


RE: FastCGI -> PHP4 + PHP5 möglich? - joximu - 11-09-2007 09:32 AM

Dexus Wrote:Naja aber manchmal ist es ein vorteil beies zu haben ;D

Ich finde, dieses "manchmal" eigentlich nur dann zulässig, wenn es sich um ein extrem wichtiges und extrem komplexes altes PHP Skript handelt, das ums ... willen nicht mit PHP5 tut...

Ansonsten machen wir niemandem eine Freude mit PHP4 - uns am allerwenigsten...

/J