more proper way to declare php values

They crashed httpd, if php is not a module. So  adding condition is
logical step.