If you have installed Apache and PHP on your loacl machine, there is no reason you can't run the scripts locally. You have something configured incorrectly or you are not loading the scripts correctly.
You don't need a PHP emulator. PHP IS and emulator, of sorts. You can also load your scripts using PHP from the command line.
Read the documentation at www.php.net.