Ich habs jetzt so gemacht, ist aber halt nicht universal-lösung -.-
//PHP.exe pfad ermitteln
$xamppPath = substr($_SERVER["DOCUMENT_ROOT"],0,strrpos($_SERVER["DOCUMENT_ROOT"],"/"));
$xamppPath = $xamppPath."/php/php.exe";
if(!is_file($xamppPath))
{
write_log('php.exe...