What are common issues when trying to execute a PHP script from an HTML page?

Common issues when trying to execute a PHP script from an HTML page include not having the correct file extension (.php), not having PHP installed on the server, and not properly configuring the server to parse PHP code within HTML files. To solve this, ensure your file has a .php extension, check that PHP is installed on the server, and configure the server to recognize and parse PHP code within HTML files.

<?php
// Your PHP code here
?>