Ben phpSuExec veya suPHP'ye etkin olup olmadığını kontrol etmek gerekir. Bir php komut dosyası içinde bunu nasıl yapabilirim?
Onun olanak olmadığını kontrol etmek easyiest yolu böyle bir şeydir
ob_start();
phpinfo();
$sTmp ob_get_contents();
ob_end_clean();
$iPos = strripos($sTmp, "PHPSUEXEC"); //not sure how the string in phpinfo is spelled!!
if($iPos === false) {
echo "not found";
} else {
echo "found";
}
Bu yardımcı olur umarım!
Alkış,
Dennis