htaccessでhtmlをphpとして実行する方法
バーチャルホストの設定でhtaccessを有効にする
# sudo vi /etc/apache2/sites-available/default
<VirtualHost *:80>
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>
htaccessにてHTMLをphpとして実行できるように変更
# sudo vi .htaccess
AddType application/x-httpd-php .php .html