[tomcat] don't run jps if its not executeable
add php version detection