recursively check for php errors starting with the working directory