PHP in Ubuntu 22.04 Desktop Installed. Now what?

I haven’t coded PHP in 15 years. Can’t remember how to get started.
I set up PHP 8.1 with Apache2 on my Unbuntu desktop (22.04).
But I don’t recall how/where to set up my files and how to test them in a browser.
For example if I made a tradtional Hello.html (with php echo embedded)–see below, how do I get it into my browser to see if it works? It currently sits in my Home folder.

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>title</title>
    <!-- link rel="stylesheet" href="style.css" -->
    <!-- <script src="script.js"></script -->
  </head>
  <body>
    <!-- page content -->
    	<?php
  	phpinfo();
	?>
  </body>
</html>
Sponsor our Newsletter | Privacy Policy | Terms of Service