It must a php page in order to embed the gallery into your page. Otherwise, you could put a link to the to the full gallery which would open in its own window. Assuming you have PowerGallery setup and working, then PHP is working on your server. Changing your page to a .php file extension would make it a PHP page.
-justin