docs:site5:php5

PHP 5

Solution We have two versions of PHP installed on all of our servers: v4.4.4 and v5.1.1.

By default, it is PHP version 4.4.4. There is nothing extra to do to use this version. Simply install and use your PHP scripts as desired.

To use PHP version 5.1.1, you have two choices.

1. Make sure your files ends in .php5, rather than .php. 2. Add the following line to your .htaccess file to have all .php files using PHP5:

AddHandler application/x-httpd-php5 .php
  • docs/site5/php5.txt
  • Last modified: 2008/08/03 00:25
  • by 127.0.0.1