I try to execute php in the console, but every time I run it:
php myscript.php
it only displays the contents of the file; it does not run it. Output:
<?
echo 'test';
?>
instead:
test
What happened? My php is installed under c: / program files / php and the environment variable is set.
Thank,
Dave
source
share