Php is a mostly user open source scripting language used for web development and can be easily integrated into HTML.
<?php echo "webpage using php"; ?>
On most of the servers, .php is the default extension for PHP files.
To run php you must need a server like Apache server and of course PHP is must to install.To save dynamic data you also need MySql as database.
Or what you can do is install a combine package like
1-Wamp – http://www.wampserver.com/en/
After successful installation from whatever it is you can check by creating and php page and add this script in your page and run it on your server –
<?php phpinfo(); ?>
Reference – https://www.php.net/