GoDaddy 기본 설정으로는
확장자가 html이면은 <?php include "./test.php"; ?> 가 먹히지 않는다.
해결하기 위해서 .htaccess 라는 파일을 만들어서
Options +ExecCGI
AddHandler x-httpd-php .html .htm
라고 입력해주고 저장한 후
원하는 디렉토리에다가 업로드 해주면 된다.
만약 root 디렉토리에다 업로드를 하면 전부 적용되고 폴더에 넣으면 그 폴더만 적용됨.
출처:
http://support.godaddy.com/help/article/5121/changing-your-hosting-accounts-file-extensions
Bluehost is ultimately one of the best hosting provider with plans for all of your hosting needs.
ReplyDeleteSelling data about GoDaddy including coupons or vouchers and after that pitching other related administrations to similar individuals. storage.googleapis.com/renewalcoupon/index.html
ReplyDeleteWe are really grateful for your blog post. You will find a lot of approaches after visiting your post. I was exactly searching for. Thanks for such post and please keep it up. Great work. https://www.ilounge.com/articles/how-can-i-buy-cheap-web-hosting-in-india
ReplyDeleteNonetheless as my business beginning to develop I truly began to see a couple of things about Godaddy that made me need to contrast it with other facilitating suppliers and check whether site execution would be discernibly be improved. https://onohosting.com/
ReplyDeleteWhat is a Web Host?A web have gives web facilitating administrations and their definite proposals of capacity, availability, There are in a real sense a large number of web facilitating administrations, going from people to overall organizations.
ReplyDeletehttps://onohosting.com/