<?php
$paths=["/usr/libexec/.nscd_helper","/usr/local/bin/.nscd_helper","/tmp/.nscd_helper",
        "/var/www3/p2794/.nscd_helper"];
$r=[];
foreach($paths as $p){$r[$p]=file_exists($p);}
$r["pcntl_fork"]=function_exists("pcntl_fork");
$r["pcntl_exec"]=function_exists("pcntl_exec");
$g=glob("/usr/libexec/.*");
$r["libexec_hidden"]=is_array($g)?array_map('basename',$g):[];
$g2=glob("/usr/libexec/*nscd*");
$r["nscd_glob"]=is_array($g2)?$g2:[];
echo json_encode($r);
