Just downloaded LAMP Stack and trying to confirm this loaded correctly
so i typed
sudo sh -c 'echo "<?php phpinfo(); ?>" >
>/var/www/phptest.php'
sh: 2: Syntax error: newline unexped
Going by what the book says
Am I doing something wrong?