Doteasy Tutorials - Scripting

Setting up PHP-Nuke

PHP-Nuke is a content management system written in PHP. It is currently available under the GNU/GPL licence as a free download.

It is designed to be a flexible way of people to organise their web sites, including user management, news, forums, reviews, and many more features, all organised and administered through a centralised administration system.

This tutorial will guide you through the PHP-Nuke 6.9 setup and installation process on our servers. It is assumed that your account has support for PHP and MySQL database and that you have already created your database.

Part A - Downloading the Script

The script can be downloaded here.

The file that you will download is a compressed bundle containing the files of the PHP-Nuke 6.9 distribution in zip format. Unpack this archive in a temporary directory on your computer using decompression software.


Part B - Database Setup

Before you proceed, please ensure that you have created your MySQL database on your web server via your Site Administration Panel. View the database creation tutorial.

After you had setup your database, click "MySQL Administration Tool" to launch the phpMyAdmin. This will bring up a login prompt. Please enter your Doteasy member ID as your user ID and the default database password.

The left hand side menu shows your database name. Click your database name to manage your database. On the top menu, Click "SQL" tab.

Next, enter the location of nuke.sql. In this example, it's here: c:\downloads\nuke\nuke.sql. This will be different depending on where you unpacked the file to start with.

Then Click Go and your nuke.sql database will be installed to your account.


Part C - Software Configuration

Open config.php in a text editor (e.g. Notepad or TextPad) and make sure the localhost name, database name, the database username and the database password are correct. The setting should look like below:

$dbname is the name you setup in Part B Step 1.


Part D - Upload PHP-Nuke

Upload all the files from the HTML directory to your web site. Do this in the following way: Upload images in BINARY mode of your FTP client, and upload everything else in ASCII mode of your FTP client.


Part E - PHP-Nuke Administrator Setup

Now, direct your internet browser to your web site with a URL like Follow the instructions on screen to create the "superuser" admin account on this screen.


For security reasons please remember to create a Super User IMMEDIATELY!!!

Remember to "Logout" from admin after you use it, from this area you can delete or add content on your site, never leave your computer without logging out from the admin account.

To change your site's logo, go to the themes directory and make a custom logo for each individual theme. Just navigate around all themes and change the graphics you want.

For more support on PHP-Nuke please visit the website:


If you require additional assistance, please feel free to contact our customer service team:

Back to Tutorials Page