LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   PHP4 and PHP5 determine by virtual host (https://www.linuxquestions.org/questions/linux-software-2/php4-and-php5-determine-by-virtual-host-571629/)

sinister1 07-23-2007 09:50 AM

PHP4 and PHP5 determine by virtual host
 
Hi,

I have enabled php 4(as a CGI module) and php 5 on my server. Can i determine which php version to use in my Virtual host?

I can determine the version by extension (.php4 en .php) but this is not what i want.


Does anyone has a clue?

Thanxs

Greetings

bathory 07-23-2007 04:59 PM

You can use .htaccess to determine which version to run. Read this to see how it can be accomplished.

Regards


All times are GMT -5. The time now is 05:16 AM.