Chapter 4. How to upgrade PHP-Nuke

Table of Contents
4.1. From 6.0 to 6.5
4.1.1. Upgrade instructions for PHP-Nuke 6.0 without Tom's bbtonuke port
4.1.2. Upgrade instructions for PHP-Nuke 6.0 with Tom's 2.0.6 bbtonuke port
4.2. From phpBB to PHP-Nuke
4.3. PHP-Nuke upgrade scripts

The upgrade of your PHP-Nuke system to a new version is done in the following steps:

The update to a new version itself, is an operation that consists of two parts, the update of the database and the overwriting of the old files with the new ones. The update of the database is done automatically through appropriate scripts that can be found in the upgrades folder of the PHP-Nuke package. You have to upload the right upgrade script to your PHP-Nuke root directory on the server (where also config.php is located), then point your browser to it - this will update the database. See also How to upgrade PHP-Nuke and PHP-Nuke upgrade.

If you are upgrading from a version that is more than one version apart from the version you are aiming at, then you have to apply all patches sequencially, from the old one, through any intermediate versions, up to the newest one. Thus, for the passage of 6.6 to 6.8, you must apply both upgrade66-67.php and upgrade67-68.php.

If you are upgrading from 5.6 to 6.0, you must also overwrite the config.php file with the new one, then edit it again with the right values (see Section 3.7).

The following sections cover some examples in detail.