By default, all files with the following extensions will run PHP:
- .php
- .php3
- .php4
- .php5
.php files will run under the current default PHP version, and .php3, .php4, and .php5 will run under the specified version of PHP (for example, .php3 files will run under PHP3).
You can also run PHP code in .html or .htm files by adding it as a handler in your .htaccess file.




