Mostafa Elkady
Mostafa Elkady

Reputation: 5801

i want .htaccess code know if php is installed on the server

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

Answers (1)

Jimmy
Jimmy

Reputation: 37081

What you want is the IfModule directive: http://httpd.apache.org/docs/2.0/mod/core.html#ifmodule

Upvotes: 1

Related Questions