PHP-Nuke is a web-based automated news publishing and content management system based on PHP and MySQL. The system is fully controlled using a web-based user interface. PHP-Nuke was originally a fork of the Thatware news portal system.
Modules may be added to the PHP-Nuke system, allowing the webmaster to add more features (such as an Internet forum or calendar) to their PHP-Nuke installation in addition to the core modules such as News, FAQ and Private Messaging.
If your hosting provider is ruuning Fantastico, you can install and configure PHP-Nuke from the cPanel interface as shown in the last post.
For installing Geeklog in OpenSolaris 2008.05 OS, perform the following tasks:
- Get Web Stack - Read the earlier post.
- Get PHP-Nuke - You can download PHP-Nuke from the PHP-Nuke site.
- Extract the archive.
- Rename the html sub-directory to nuke and move this directory to /var/apache2/2.2/htdocs folder.
- Move the rest of the content (except html sub-directory) to /var/apache2/2.2/htdocs as a separate folder with the name nuke_files.
- Create PHP-Nuke DB - Execute /usr/mysql/bin/mysqladmin -u root -p create nuke to create a DB by name nuke. You will be prompted to provide the password for root. The default password for root is an empty string.
- Set necessary permission for PHP-Nuke DB - Run /usr/mysql/bin/mysql -u root -p. After providing the password, execute the query - grant select, insert, update, delete, create, drop, index, alter on nuke.* to 'root'@'localhost' IDENTIFIED BY ''; from the MySQL prompt.
- The schema for the nuke DB is available under /var/apache2/2.2/htdocs/nuke_files/sql/nuke.sql. From the MySQL prompt, run the commands to populate the schema: use nuke; and source /var/apache2/2.2/htdocs/nuke_files/sql/nuke.sql
- Edit /var/apache2/2.2/htdocs/nuke/config.php file to provide the MySQL connection information as shown below:
- $dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "nuke";
$prefix = "nuke"; - Set necessary permission for the nuke directory - From the htdocs directory, run chmod o+w nuke.
- From a browser window, invoke http://localhost/nuke.
- Follow the link on the home page to create users/super-users.
PHP-Nuke has many reported security holes. You need to rely on unofficial patches to fix these security issues. Overall, it is an elegant portal and is supported by most of the Linux-PHP hosting providers.
Tested Version - 8.0