Getting Started with XooPress
A Complete Beginner's Guide to Installation and Setup
Welcome to XooPress, the modular CMS that combines the best of XOOPS and WordPress! This guide will walk you through everything you need to know to get started with your new CMS.
π Prerequisites
Before you begin, make sure you have:
- PHP 8.2 or higher
- MySQL 5.8 or MariaDB 10.11+
- Composer (for dependency management)
- Apache/Nginx web server with mod_rewrite
- Required PHP extensions: PDO, PDO MySQL, gettext, mbstring, JSON, Session
π The 4-Step Web Installer
XooPress includes a user-friendly web installer with a progress indicator showing your setup journey. Let's walk through each step:
Step 1: System Requirements Check
The installer first checks if your server meets all requirements:
β Requirements Verified:
- PHP Version 8.2+ check
- PDO Extension & MySQL Driver
- gettext, mbstring, JSON, Session extensions
- Directory write permissions (config, cache, logs)
The installer displays a clear pass/fail status for each requirement. If everything passes, you'll see a green success message and can proceed to Step 2.
Step 2: Database Configuration
Enter your MySQL connection details:
π Database Settings:
- πΉ Host - Usually "localhost" (try 127.0.0.1 for socket issues)
- πΉ Port - MySQL port (default: 3306)
- πΉ Database Name - Will be created automatically if it doesn't exist
- πΉ Username & Password - MySQL credentials
- πΉ Table Prefix - Default is
xp_(recommended to keep)
The installer includes intelligent troubleshooting:
- Automatically tries TCP connections AND Unix socket paths
- Provides helpful MySQL 8 compatibility hints
- Suggests creating a dedicated database user if root access fails
- Tests the connection before proceeding
auth_socket authentication. If you get "Access denied", the installer suggests creating a dedicated user with mysql_native_password.
Step 3: Admin Account Creation
Create your administrator account:
π€ Admin Details:
- πΉ Username - Minimum 3 characters (choose something secure)
- πΉ Email Address - For password recovery and notifications
- πΉ Password - Minimum 8 characters (strongly recommended)
- πΉ Confirm Password - Verification
Step 4: Automatic Installation
The installer now handles everything automatically:
Creating tables β’ Setting up admin β’ Writing configuration
During this step, the installer:
- β Creates all database tables (users, settings, sessions, posts, categories, post_meta)
- β
Registers the System and Content modules in
xp_modules - β Creates the admin user with BCrypt password hashing
- β Sets up default site settings
- β Creates the "Uncategorized" default category
- β
Generates
config/app.local.phpwith your settings - β
Creates
config/installed.lockto prevent re-installation
π Installation Complete!
After successful installation, you'll see a summary screen with:
β Your Installation Summary:
- Site URL:
/- Admin Username:
- The username you created
- Admin Email:
- Your admin email address
- Database Name:
- The database you configured
- Table Prefix:
- Your chosen prefix (default: xp_)
public/install.php file from your server to prevent unauthorized re-installation!
π§ What Gets Installed?
XooPress creates the following database tables during installation:
| Table | Purpose |
|---|---|
xp_users | User accounts and authentication |
xp_settings | Global site settings |
xp_sessions | User session management |
xp_posts | Content posts and pages |
xp_categories | Category taxonomy |
xp_post_meta | Post metadata |
xp_modules | Module registry |
π― Post-Installation Checklist
Delete install.php
Remove /public/install.php for security
Login to Admin
Go to /login with your admin credentials
Choose a Theme
Visit /admin/themes and activate XooPress Lite or Dark
Create Content
Start writing posts and pages in your preferred editor
π Troubleshooting Common Issues
| Issue | Solution |
|---|---|
| "Missing extension: PDO MySQL" | Install php-mysqlnd or php-pdo-mysql package |
| "Config directory is not writable" | Run: chmod 755 config/ storage/cache storage/logs |
| "Access denied for user 'root'@'localhost'" | Create a dedicated MySQL user as suggested by installer |
| "Connection refused" | Ensure MySQL is running: sudo systemctl start mysql |
| White screen after installation | Check PHP error log and ensure all Composer dependencies installed |
π Next Steps
Congratulations! XooPress is now installed. Here's what to explore next:
- π Markdown vs HTML vs PHP - Which Editor Should You Use?
- π οΈ Building Your First XooPress Module
- π¨ Creating Stunning Themes for XooPress
- π§ Visit
/adminto configure your site settings - π¦ Check out additional modules in the marketplace
Happy building with XooPress! π The 4-step installer makes setup a breeze, so you can focus on creating amazing content.