PHP5 is now available!

By george | Comment below

We are happy to announce that PHP5 is now available on our server. Don’t worry if you still need PHP4, because both PHP version are running concurrently on the server.

Both PHP has been installed as apache modules (mod_php5 + mod_php4). Having both php as modules, instead of running one as a CGI is better, because your existing scripts and permissions will not need to be change.

To run your script with PHP5 you can use a .htaccess file in the directory where you want to run PHP5 and have the following in the file.

AddType application/x-httpd-php5 .php

OR if you prefer

You can also rename a file to an extension of .php5, this method requires no .htaccess modification, so that you can run both versions of php within 1 directory if you wish.

You will also be able to use ‘php_value’ directives in your .htaccess files just like you can with php4. The syntax is just slightly different.
You would use

php5_value instead of php_value if you run php5 within that directory.

Leave a Comment