PDA

View Full Version : PHP4+PHP5+ApacheConfig


ImZan
10-14-2007, 05:06 PM
Hello,

I've successfully setup a PHP 4 (.php) + PHP5(.php5) enviornment under litespeed. It's using the apache's httpd.conf as the source of the config. However, in one account, I need to use PHP5 on one account , but the extension has to be .php .

How can I do this ? Any pointers would be appreciated. Thanks.

mistwang
10-15-2007, 10:49 AM
use Apache directive
AddType application/x-httpd-php5 php for that vhost, either in httpd.conf or .htaccess.