php.exe e poi ne catturi l'output.

php.exe miapagina.php

però non saprei come catturare l'output