I’m trying to get the php executable to parse scripts, but it’s not working. i run something like this:
php c:\test.php
and test.php contains this:
<?
echo 'hello!';
?>
and that is exactly what running the command returns. It returns the raw code. How can I get it to actually parse the code and return “hello!” instead?
Make sure you have the short_open_tag setting enabled in your php.ini. Failing that, use the ever-so-slightly longer
<?phpto start your script.