freddiefujiwara
freddiefujiwara

Reputation: 59049

Can php5 coexist with php4?

I use apache. I want to let php4 coexist with php5 in one server, but what kind of method will there be?

Upvotes: 4

Views: 323

Answers (3)

Paolo Bergantino
Paolo Bergantino

Reputation: 488394

There are a lot of guides on how to do this:

... and more

Upvotes: 9

alex
alex

Reputation: 490213

My host lets me put a .htaccess with a special directive to say 'process php pages in this folder and subfolders as PHP5'

Ask your host, they may have something similiar.

Upvotes: 1

Marc Charbonneau
Marc Charbonneau

Reputation: 40517

What I've seen hosts do is to keep interpreting .php files as PHP4, but use .php5 for PHP5.

Upvotes: 1

Related Questions