To change your default PHP version, please follow these steps:
1. Login into the Netfirms Members Control Panel at
https://controlpanel.netfirms.com
2. Click Hosting
3. Click Settings
4. From the Settings Overview, select the PHP version you would like to
set for your account enable. (PHP 5 is enabled by default).
5. Click Update
Please allow up to 5 minutes for your default PHP version to change to
the new version. This will set all PHP scripts on your account to be
handled by the PHP version you have chosen by default.
ADVANCED USERS:
If you wish to enable a specific PHP version on a per directory basis,
please create a .htaccess with the following code (where the number 5 is the version of PHP you wish to use):
setenv PHPVERSION 5
NOTE: Valid PHP versions
currently are 4 and 5. In the above example, we will be forcing PHP to
use version 5 in that directory and all sub directories. This will
override your default PHP version configured in your control panel
allowing fine-grained control of the PHP version you wish to use on your
site.
IMPORTANT: Only one version of PHP may be enabled at a time on your account.
NOTE: If you are using Commerce pro with PHP 5 you may experience a "Fatal Error " referencing upload.php when clicking the Admin link in your Netfirms Commerce Pro Admin panel. For information on how to fix this error click here.