tags:

views:

144

answers:

3

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

+1  A: 

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

Marc Charbonneau
Does that still work if you use Option Multiviews to hide the file extensions? I tend to use /path/to/script with multiviews to refer to /path/to/script.php
Tom
+1  A: 

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.

alex