Making my pages work with PHP

For the PHP code to parse correctly, the extensions of the files containing the PHP must be .php