Current time: 05-20-2024, 04:53 PM Hello There, Guest! (LoginRegister)


Post Reply 
FastCGI -> PHP4 + PHP5 möglich?
Author Message
Dexus Offline
Junior Member
*

Posts: 115
Joined: Nov 2007
Reputation: 1
Post: #1
FastCGI -> PHP4 + PHP5 möglich?
Hallo, wollte man fragen ob es möglich ist php4 und PHP5 parallel zu benutzen? also auf 1 Domain / User...
11-09-2007 01:42 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: FastCGI -> PHP4 + PHP5 möglich?
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
11-09-2007 01:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
zpin Offline
Junior Member
*****
Dev Team

Posts: 160
Joined: Sep 2007
Reputation: 1
Post: #3
RE: FastCGI -> PHP4 + PHP5 möglich?
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
(This post was last modified: 11-09-2007 02:26 AM by zpin.)
11-09-2007 02:25 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #4
RE: FastCGI -> PHP4 + PHP5 möglich?
Was für einen Sinn sollte das machen. PHP4 ist tot Smile Ich persönlich installiere keinerlei Scripte mehr, die nur unter Php4 laufen.
11-09-2007 03:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Dexus Offline
Junior Member
*

Posts: 115
Joined: Nov 2007
Reputation: 1
Post: #5
RE: FastCGI -> PHP4 + PHP5 möglich?
Naja aber manchmal ist es ein vorteil beies zu haben ;D
11-09-2007 03:17 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: FastCGI -> PHP4 + PHP5 möglich?
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
11-09-2007 09:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)