Can I switch between PHP-4 and PHP-5?

Yes, you can easily switch between PHP-4 & PHP-5 anytime you wish. To see how, see the details below.

How to run PHP-5
By default, all our servers are configured to run PHP-5 (which is the latest stable version). All your .php files will automatically use PHP-5 by default. No special action is required on your part to run PHP-5 scripts on our server.

How to run PHP-4
If you would like to use PHP-4 for your scripts, there are two options:

1) Rename the files that require PHP-4 with the .php4 extension (as opposed to .php). This is useful if you just want to test a few files under PHP-4.

2) If you would like ALL your files within a specific directory (for example, public_html folder) to use PHP-4, then create (or append to a current) .htaccess file the following line. Make sure to work with .htaccess file located in that specific directory.

AddType application/x-httpd-php4 .php

Was this answer helpful?

Also Read
How do I create an Addon Domain?

An Addon Domain is similar to a subdomain and created in much the same way. An Addon Domain has...

How can I enable register_globals for my account?

'register_globals' is a PHP Directive. This is no longer being used in the newer version of PHP...

How do I work with suPHP and .htaccess files?

Some configuration lines won't work with suPHP - at least, not within the .htaccess file. In...

Where can I see your SiteBuilder Demo?

Click on the link below to launch GigaPros SiteBuilder Demo. Feel free to explore our...

Which app can I install with my 1-click installer?

You can easily install a lot of scripts with our 1 click automatic installers. To see a complete...