it seems that some of my php applications require php 5.2 and some require php 5.3.
is there a way to configure apache (v2.2.14) that one virtualhost will work with one php library and a different virtualhost will require a different one?
currently the only solution that i found is to install two apaches and two phps and each of the apache will reside in a different port.
thanks
Answer
If you would use PHP 4 and 5 it would be easy to manipulate what module you want to use with:
So there 3 ways to deal with this problem:
- Correct the problems in the PHP scripts (imho the best way)
- Modify the PHP source code so it reports itself as "mod_php52.c","mod_php53.c"
- Run it as CGI where needed Check it out here
You can also run 2 servers on different ports and use a proxy
No comments:
Post a Comment