View Single Post
Old 03-03-2011, 11:31 AM  
acctman
Confirmed User
 
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
htaccess Addhandler not working

Here's what happening and what i'm trying to do...

1. server is default set to php 5.3.4
2. www.site.com is running php4 (script requires it) Addhandler set in the htaccess
3. www.site.com/newscript/ needs php5
4. i put a .htaccess in the www.site.com/newscript/ folder with Addhandler for php5 but it doesn't work.

what ends up happening is php is no longer processed and it's sending the files in the /newscript/ folder to the browsers as files to download. i.e. instead of index.php loading i get a download dialog box to save index.php file. What am I doing wrong here, is it not possible to run php4 & 5 on the same domain space?
acctman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote