are you using php tags ?
<?php
echo "Hello world" ;
?>
Name the above file as hello.php run following command.
php hello.php
If still doesn't work, then let me know how did you install your php, was it a compiled (rpm) or you did all compiling stuff.
|