How turn off PHP?

robson_ek

Verified User
Joined
Feb 10, 2009
Messages
13
Hello

I can turn off PHP in one subdomains.

I make .htaccess

AddType text/plain .php .php3 .php4 .php5 .inc .phtml .cgi .pl

and this code doesn`t work.

I try too

AddType application/octet-stream .php .php3 .php4 .php5 .inc .phtml .cgi .pl

and this code doesn`t work too.

Please help

Best regards
 
php_admin_flag engine off

Maybe:

RemoveType application/x-httpd-php .php
AddType application/x-httpd-php-source .php
 
OK thx

I have also another question.


how should i set mime-type to webbrowser could download any types of files in one subdomains?

Something like that:
AddType application/octet-stream .*
but this code doesn`t work
 
Back
Top