View Single Post
  #7 (permalink)  
Old 11-02-2005, 08:15 AM
ispro ispro is offline
Registered User
 
Join Date: Apr 2004
Posts: 605
ispro is on a distinguished road
Quote:
Originally Posted by Odhinn
You should just be able to put this in .htaccess to enable it on a per-directory basis:
Code:
AddType application/x-httpd-php5 .php
I haven't set any of this up yet though, so I can't test it myself.
You are a LITTLE wrong.

You should to use AddHandler for php as cgi:
AddHandler application/x-httpd-php5 .php .php4 .php3 .phtml

Not forget that this works on recurse basis. E.g. for every subdirectory under the main subdirectory.

This is confirmed thing on Apache + phpsuexec + php4 cgi + php5 cgi
__________________
Reliable web-hosting, good resellers plans, web-design.
ISProHosting.com
Reply With Quote