Hello. I use apache. I want to let php4 coexist with php5 in one server, but what kind of method will there be?
+8
A:
There are a lot of guides on how to do this:
- Running Apache2 With PHP5 And PHP4 At The Same Time
- Running both PHP4 and PHP5
- Configure Apache to work with PHP4 and PHP5
- Running PHP4 and PHP5 in parallel
... and more
Paolo Bergantino
2009-05-20 02:52:17
+1
A:
What I've seen hosts do is to keep interpreting .php files as PHP4, but use .php5 for PHP5.
Marc Charbonneau
2009-05-20 02:52:28
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
2009-05-20 04:59:37
+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
2009-05-20 03:03:00