php_flag engine

Hello,

I would like to disable php interpreter for one specific directory.

Ive read php documentation and there they say its possible setting up a .htaccess file including the following syntax:

php_flag engine off

I have added it to a directory and everything that I get is Internal Server Error

The error_log says:

... Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration

I am wondering if this error is happening because I am using phpsuexec instead of mod_php ?

Thank you.

 

 

 

 

Top