sKunKbad Posted December 20, 2007 Share Posted December 20, 2007 One thing I like about the sites I have on Godaddy is that I can have both .php and .php5 file extensions on my php files. The server interprets .php files with php version 4 and .php5 files with php version 5. I do have the php4 addon to my WAMP5 v1.7.1 installation, but would like to set it up to where I don't have to use the switch (as long as it is an easy thing to do). Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted December 20, 2007 Share Posted December 20, 2007 The end of life of php4 is in about 11 days. Except for security patches, no new releases of php4 will exist. Everyone needs to switch to php5. There are very few incompatible changes going from php4 to php5. Most code that works under php4 will work unchanged under php5. http://www.php.net/manual/en/migration5.incompatible.php Upgrade to php5 or get left behind when php4 is eliminated in the near future from your hosting account. Quote Link to comment Share on other sites More sharing options...
sKunKbad Posted December 21, 2007 Author Share Posted December 21, 2007 I know that most php4 code works in php5. For the sake of just knowing how it is done, what if it were php5 and php6, or two different versions of 5. How is it that Godaddy has both running at the same time, and separating the files that are interpreted? Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted December 21, 2007 Share Posted December 21, 2007 This describes about all the possible ways of having two different versions of php available (information at this link is not specific to just gentoo) - http://www.gentoo.org/proj/en/php/php4-php5-configuration.xml Quote Link to comment Share on other sites More sharing options...
sKunKbad Posted December 21, 2007 Author Share Posted December 21, 2007 Exactly what I was looking for ... but whether or not I can make it work with WAMP is another question. Thanks PFMaBiSmAd Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.