Complete step-by-step guide for deploying and installing the patched Nuked-Klan 1.7.15 CMS on PHP 8.0.
Status: ✅ DEPLOYMENT COMPLETE - Successfully deployed and installed on January 15, 2026
- PHP 7.4+ (recommended: PHP 8.0)
- MySQL 5.7+ or MariaDB 10.2+
- Nginx or Apache web server
Create a MySQL database using your preferred method (phpMyAdmin, command line, or your hosting control panel):
- Create a new database
- Create a database user with full privileges on that database
- Note down:
- Database host (usually
127.0.0.1orlocalhost) - Database port (usually
3306) - Database name
- Database username
- Database password
- Database host (usually
Ensure your server is running PHP 7.4 or higher (PHP 8.0 recommended). The method to set PHP version depends on your hosting environment:
- Shared hosting: Usually set via control panel
- VPS/Dedicated: Configure via your web server (Apache/Nginx) and PHP-FPM
- Command line check:
php -v
Option A: Using SCP/SFTP
# Upload all files from UPLOAD/ directory to your web root
# Example: /path/to/your/webroot/Option B: Using Command Line (if you have SSH access)
cd /path/to/nuked-klan-patched
sudo cp -r UPLOAD/* /path/to/your/webroot/
sudo chown -R www-data:www-data /path/to/your/webroot/
# Or use your web server user (e.g., apache:apache, nginx:nginx)cd /path/to/your/webroot/
chmod 755 upload/
chmod 755 themes/
chmod 755 modules/
chmod 644 *.phpIf you encounter routing issues, add this to your nginx vhost configuration:
# Nuked-Klan CMS - Explicit INSTALL directory handling
location = /INSTALL/ {
rewrite ^ /INSTALL/index.php last;
}
# Main location block
location / {
try_files $uri $uri/ /index.php?$query_string;
index index.php index.html;
}
# PHP handler
location ~ \.php$ {
include fastcgi_params;
fastcgi_intercept_errors on;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
try_files $uri =404;
fastcgi_pass unix:/var/run/php/php8.0-fpm.sock; # Adjust to your PHP-FPM socket
}Ensure mod_rewrite is enabled and add this to your .htaccess or virtual host:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L,QSA]
</IfModule>- Open your browser:
https://your-domain.com/INSTALL/index.php - The installer should load automatically
Step 1: Language Selection
- Select your language (English or French)
- Click Next
Step 2: Installation Type
- Choose "Assisted installation" (recommended for first-time setup)
- Click Next
Step 3: Database Configuration Enter your database credentials:
- Database Host:
127.0.0.1(orlocalhost) - Database Port:
3306 - Database Name:
your_database_name(or your database name) - Database User:
your_username(or your database username) - Database Password: (your database password)
- Table Prefix:
nuked(default) orwow(to match old setup)
Click Test Connection to verify, then click Next
Step 4: Database Creation
- Click Start to create all database tables
- Wait for all 57 tables to be created successfully
- You'll see "Installation completed successfully!"
Step 5: Admin Account Creation
- Enter admin account details:
- Username: (e.g.,
YourUsername) - Email: (your email address)
- Password: (strong password)
- Level: 9 (Administrator)
- Username: (e.g.,
- Click Create Account
Step 6: Installation Complete
- Installation is complete!
- You'll be redirected to the main site
CRITICAL: Remove or disable the INSTALL directory after installation:
# Option 1: Remove completely (recommended)
sudo rm -rf /path/to/your/webroot/INSTALL
# Option 2: Rename (if you want to keep it for reference)
sudo mv /path/to/your/webroot/INSTALL /path/to/your/webroot/INSTALL.disabled# Set restrictive permissions on conf.inc.php
sudo chmod 600 /path/to/your/webroot/conf.inc.phpIf you enabled display_errors for debugging, disable it:
# Check if display_errors is enabled
sudo grep "display_errors" /path/to/your/webroot/index.php
# If found, remove or comment out the line- Visit:
https://your-domain.com/index.php?file=Admin - Enter your admin credentials
- Click Login
- Go to Admin → Settings
- Configure:
- Site Name: Your site name
- Site Description: Your site description
- Default Theme: Select a theme (default is "Impact_Nk")
- Site URL:
https://your-domain.com/ - Other preferences as needed
- Click Save
- Visit:
https://your-domain.com/ - The default theme should display
- Verify all modules are working
your-web-directory/
├── index.php (entry point)
├── nuked.php (core functions)
├── globals.php (security & globals)
├── conf.inc.php (database config - created during install)
├── Includes/
│ ├── mysqli_compat.php (NEW - PHP compatibility layer)
│ └── ... (other includes)
├── themes/
│ └── Impact_Nk/ (default theme)
│ └── ... (other themes if installed)
├── modules/ (all CMS modules)
├── upload/ (user uploads directory)
└── INSTALL/ (remove after installation)
After installation, conf.inc.php will contain:
<?php
$nk_version = '1.7.15';
$global['db_host'] = '127.0.0.1';
$global['db_user'] = 'your_username';
$global['db_pass'] = 'your_db_password';
$global['db_name'] = 'your_database_name';
$db_prefix = 'nuked'; // or 'wow' if you used that prefix
define('NK_INSTALLED', true);
define('NK_OPEN', true);
define('NK_GZIP', false);
define('HASHKEY', 'your-hash-key-here');
?>Check:
- PHP error logs (location depends on your server setup)
- File permissions (directories: 755, files: 644)
- PHP version is 7.4 or higher
conf.inc.phpexists and has correct credentials
Check:
- Database credentials in
conf.inc.php - MySQL service is running
- Database user has proper permissions
- Database host is correct (usually
localhostor127.0.0.1)
Check:
- Theme directory exists in
themes/ - Theme has
theme.phpfile - Theme is selected in admin panel
- File permissions on theme directory (755)
Check:
upload/directory permissions (755 or 775)- PHP
upload_max_filesizeandpost_max_sizesettings - Directory is writable by web server user
Solution: This is expected. The installer checks for the mysql extension, but PHP 8.0 uses the compatibility layer. You can safely proceed with installation.
Solution: The installer JavaScript files have been patched with fallback i18n objects. Clear your browser cache and reload the page.
- Remove INSTALL directory after installation
- Set proper file permissions:
- Directories: 755
- PHP files: 644
- Config files: 600 (if possible)
- Use HTTPS (SSL certificate)
- Keep PHP updated (7.4 or 8.0 recommended)
- Regular backups of database and files
- Monitor error logs regularly
- Installation completed successfully
- INSTALL directory removed/renamed
- Admin account created and tested
- Site settings configured
- Default theme selected
- File uploads tested
- Database backup created
- Error logging enabled
- HTTPS/SSL configured (if available)
- Website loads without errors or warnings