How to run code of php5 on a server with php4 using htaccess
Nov 26, 2009 Beginners, Experts, Php
This is big question for beginners every time.Now as we know that php5 is in full flow but still there are lot of servers out there with php4 and if you upload your php5 code on those servers then it will be mess.May be your site will not run or any part or your will go down.But don’t worry friends , there are only 2 lines to put this problem far from you.
Just put these 2 lines below in a htaccess file and put that htaccess at the root directory.
AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4
Now all the modules either they have written in php4 or php5 will work very well.
.htaccess file at godaddy
Nov 23, 2009 Php
Godaddy a big name in the world of internet and web hosting. There are thousand of websites hosted on godaddy.com. Lot of programmers have faced godaddy, may be they are experienced or fresher. In today’s programming world htaccess is a comman name but its always an advanced topic specially for beginners. As search engine markting is growing everyday , the use of htaccess is also growing . But there is difference between godaddy’s htaccess and other htaccess , not very much but that is important to know for everybody.If you are not familiar with the rules of godaddy’s htaccess then it will make headache for you. Read the rest of this entry »
Tags: .htaccess, 644, Apache, ASCII mode, extension, godaddy, godaddy server, mod_rewrite, permission, php4, php5, rewrite rule, rewrite rules, search engine markting, search engine optimization, server
