What are common issues that beginners face when trying to display PHP on their computer?

Common issues beginners face when trying to display PHP on their computer include not having a local server set up, not having PHP installed on their machine, or not properly configuring their server settings. To solve this issue, beginners can install a local server like XAMPP, WampServer, or MAMP, which includes PHP and MySQL. They can also check their PHP installation by running `php -v` in the command line. Additionally, beginners should make sure their server settings are configured correctly to interpret and display PHP files.

<?php
echo "Hello, world!";
?>