Fixed #65225: PHP_BINARY incorrectly set

PR fixes: https://bugs.php.net/65225