Note that you can switch back to PHP 4 by following the same procedure, but using usr/local/bin/php4 instead of /usr/local/bin/php5

To specify an interpreter, you need do the following:

Run the following shell command on the .php file:chmod +x myphpfile.phpFor more information about how to get a command prompt for your server go here.

Now add the following code to the first line of the file (not within your PHP tags):#!/usr/local/bin/php5This is a switch that forces PHP 5 to parse the php script.

Again, if PHP5 is your default, use /usr/local/bin/php4 instead of /usr/local/bin/php5

Those that rename files from *.php to *.php5, that is all you need to do. If you have switched your account to use PHP 5 by default, you may rename files to be *.php4 to force those files to use PHP 4.