若要禁止 php 程式執行,在該目錄下建立 .htaccess

<FilesMatch "\.(php|php3|phtml)">
Order Allow,Deny
Deny from all
</FilesMatch>
Go to top