| Scripting Tutorial - 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
1. The script can be downloaded here.
2. 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
1. Before you proceed, please ensure that you have created your MySQL database on your web server via your Site Administration Panel.
2. After you had setup your database, click "MySQL Administration Tool" to launch the phpMyAdmin. This will bring up a login prompt. Please enter your VIP PowerNet member ID as your user ID and the default database password.
3. The left hand side menu shows your database name. Click your database name to manage your database. On the top menu, Click "SQL" tab.
4. 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 phpnuke69.zip file to start with.
5. Then Click Go and your nuke.sql database will be installed to your account.
Part C - Software Configuration
1. 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
1. 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
1. Now, direct your internet browser to your web site with a URL like http://www.yourdomain.com/index.php 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 logggin 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 supports on PHP-Nuke please visit the website: http://www.phpnuke.org/.