Reputation: 5801
I want .htaccess code to know if php is installed on the server. If it is not installed i will deny access to any php file.
Upvotes: 0
Views: 43
Reputation: 37081
What you want is the IfModule directive: http://httpd.apache.org/docs/2.0/mod/core.html#ifmodule
Upvotes: 1