How are PHP4 and PHP5 set up?

The default PHP version on our webservers is version 5. This is how the PHP setup on our servers functions:

PHP5 reads php.ini files as well as php5.ini files by default. When php4 is set to the default version, php4 will read both php4.ini and php.ini files. When both a php5.ini and a php.ini file exist in the same directory and duplicate directives exist, the php5.ini takes precedence..

If you wish to make use of php version 4, you can insert a .htaccess file into your webspace, containing the following line "SetEnv DEFAULT_PHP_VERSION 4".

  • 72 Users Found This Useful
Was this answer helpful?

Related Articles

How can I upload my MySQL database?

There are numerous ways to upload a MySQL database, we would strongly recommend trying methods 2...

What modules are installed on the server?

Simply log into your Fast Name Control Panel and select Web Diagnostics. Under that section you...

What version of PHP does Fast-name run?

You can find out the version of different programs that Fast-name run by logging into your Fast...

What is PHP?

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

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...

Powered by WHMCompleteSolution