VarunKrish

Running PHP5 scripts only in a single directory

Woah !! This is cool !! I can run PHP5 code only under a certain directory by adding these lines to the .htaccess file in the dir.

AddType x-mapp-php5 .php
AddHandler application/x-httpd-php5 .php

Sounds like i will be moving all my php4 development to php5 from now
Exit mobile version