This link has been bookmarked by 1 people . It was first bookmarked on 21 Feb 2008, by someone privately.
Shared and reseller servers, have both PHP4 and PHP5 preinstalled for the client.
Dedicated servers require consultation with the client, before a specific installation is chosen.
By default, PHP4 will handle all PHP requests, except files with the (.php5) extension.
You can utilize PHP5 by...
AddHandler application/x-httpd-php5 .php .php5 .php4 .php3 .phtml
It may just be a different way to achieve the same goal, but this is what I used on another host:
AddType application/x-httpd-php5 .php
NOTE: Some programs and code written for php 4, will not work with php 5. This is why they created version extensions. Many older scripts, still use the code translations, as they have two versions (file.php4 and file.php5), of the code. I recall three items in the Fantastico console, that will not function with php 5. (And I assume that this is the reason we still have php 4 on these servers. If you just told all your code to be processed by php5... and php4 is running... which one is processing your code? Which programs will still run? None, if they were coded for php4. The codes are not backwards compatible. Php 4 code will crash Php 5, and Php 5 code will crash Php 4.)
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.