Our Linux hosting accounts run PHP versions 5.2.5 and 4.3.11.
For information on PHP 5.2.5, see the PHP 5.2.5 Release Announcement.
For information on running both PHP 4 and PHP 5 applications, see Can I run both PHP 4 and PHP 5 applications on my hosting account?.
To change your PHP version, see Changing Your PHP Language Version.
NOTE: This content only applies to our Linux shared hosting accounts running Hosting Configuration 2.0 and above.
PHP is automatically added to your hosting account. However, you can choose the version you’d like to use.
To Change Your Default PHP LanguageLog in to your Account Manager.
In the My Products section, select Hosting.
Next to the hosting [...]
Our Linux hosting accounts run in CGI mode. When PHP 5 runs in this mode, the server variable element PATH_INFO behaves differently than under PHP 4. PHP 5 scripts can use the element SCRIPT_NAME in place of PATH_INFO to ensure the expected value is returned.
The PHP 4 domxml module is not supported in PHP 5 and has been replaced with the dom module. When moving to PHP 5, any scripts using domxml module functions must be modified to use dom module functions.
Yes, if your site runs Hosting Configuration 2.0, both PHP 4 and PHP 5 applications can run on your site. By default, PHP 5 files require the .php5 extension, whereas the .php extension will run under PHP 4. You can change these defaults through the htaccess file. See How do [...]
Linux hosting accounts running Hosting Configuration 2.0 and above support both PHP 4 and PHP 5. Depending on the contents of your htaccess file, the following PHP file extensions can be used: .php, .php4, and .php5.
For information on using extensionless PHP files, see Can I use extensionless PHP files?.
For additional information on supported [...]