[PHP3.03] What version of PHP does Hosting cPanel run?

You can find out the version of different programs that Hosting cPanel run by logging into your Hosting cPanel v7.5 Control Panel. Select the Web Diagnostics section and then select 'Paths and Versions'.

You can use different versions of PHP by changing the extension on the script in question. PHP5 is the default, so to use php5, leave its extension as .php. If you want to use PHP4 with a script, change the extension to .php4.

If you wish to default all .php scripts in your hosting space to use PHP4, but do not want to change the extension, place this line into a .htaccess file in your FTP space

SetEnv DEFAULT_PHP_VERSION 4

Both PHP 4 and 5 are available on Hosting cPanel's servers.

Was this answer helpful?

 Print this Article

Also Read

[PHP3.04] What is PHP?

Self-referentially short for PHP: Hypertext Preprocessor, an open source, server-side, HTML...

[PHP3.11] What PHP5 modules do you support?

Print NowWhat PHP5 modules do you support?The following modules are available:-MySQL ClientGD...

[PHP3.07] Do you support Blogs on your packages?

Yes we do - you'll need to select a package that includes MySQL databases as all major blogging...

[PHP3.15] How do I edit php.ini (PHP settings) for my hosting package?

Becuase of the way in which we run PHP, you are able to customise its behaviour with php.ini...

[PHP3.05] Can I place a PHP script in any directory I choose?

Yes. PHP scripts do not have to reside in any particular directory and will run anywhere in your...