make use of PHP_PATH env var if necessary