HEX
Server: LiteSpeed
System: Linux houston.panomity.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User: nudepix (1011)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/local/CyberCP/README.md
# ๐Ÿ› ๏ธ CyberPanel

Web Hosting Control Panel powered by OpenLiteSpeed, designed to simplify hosting management.

---

## ๐Ÿ”ง Features & Services

- ๐Ÿ” **Different User Access Levels** (via ACLs).
- ๐ŸŒŒ **Auto SSL** for secure websites.
- ๐Ÿ’ป **FTP Server** for file transfers.
- ๐Ÿ•’ **Light-weight DNS Server** (PowerDNS).
- ๐Ÿ” **phpMyAdmin** to manage databases (MariaDB).
- ๐Ÿ“ง **Email Support** (SnappyMail).
- ๐Ÿ•Œ **File Manager** for quick file access.
- ๐ŸŒ **PHP Management** made easy.
- ๐Ÿ”’ **Firewall** (FirewallD & ConfigServer Firewall Integration).
- ๐Ÿ“€ **One-click Backups and Restores**.
- ๐Ÿณ **Docker Management** with command execution capabilities.
- ๐Ÿค– **AI-Powered Security Scanner** for enhanced protection.
- ๐Ÿ“Š **Monthly Bandwidth Reset** - Automatic bandwidth usage reset (Fixed in latest version).

---

## ๐Ÿ“– **Documentation & Guides**

CyberPanel comes with comprehensive documentation and step-by-step guides:

- ๐Ÿ“š **[Complete Guides Index](guides/INDEX.md)** - All available documentation in one place
- ๐Ÿณ **[Docker Command Execution](guides/Docker_Command_Execution_Guide.md)** - Execute commands in Docker containers
- ๐Ÿค– **[AI Scanner Setup](guides/AIScannerDocs.md)** - Configure AI-powered security scanning
- ๐Ÿ“ง **[Mautic Installation](guides/MAUTIC_INSTALLATION_GUIDE.md)** - Email marketing platform setup

---

## ๐Ÿ”ข Supported PHP Versions

CyberPanel supports a wide range of PHP versions across different operating systems:

### โ˜‘๏ธ **Currently Supported PHP Versions**

- **PHP 8.5** - Latest stable version (EOL: Dec 2028)
- **PHP 8.4** - Stable version (EOL: Dec 2027)
- **PHP 8.3** - Stable version (EOL: Dec 2027)
- **PHP 8.2** - Stable version (EOL: Dec 2026)
- **PHP 8.1** - Stable version (EOL: Dec 2025)
- **PHP 8.0** - Legacy support (EOL: Nov 2023)
- **PHP 7.4** - Legacy support (EOL: Nov 2022)

### ๐Ÿ”ง **Third-Party PHP Add-ons**

For additional PHP versions or specific requirements, you can install third-party packages:

#### **Ubuntu/Debian**

- **Ondrej's PPA**: Provides PHP 5.6 to 8.5
- **Sury's PPA**: Alternative repository with latest PHP versions

#### **RHEL-based Systems** (AlmaLinux, RockyLinux, CentOS, RHEL)

- **Remi Repository**: Comprehensive PHP package collection
- **EPEL Repository**: Additional packages for enterprise Linux

#### **CloudLinux**

- **CloudLinux PHP Selector**: Built-in tool for managing multiple PHP versions
- **Remi Repository**: Additional PHP versions and extensions

> **Note**: Third-party repositories may provide additional PHP versions beyond what's available in default repositories. Always verify compatibility with your specific use case.

---

## ๐ŸŒ Supported Operating Systems

CyberPanel runs on x86_64 architecture and supports the following operating systems:

### **โœ… Currently Supported**

- **Ubuntu 24.04.3** - Supported until April 2029 โญ **NEW!**
- **Ubuntu 22.04** - Supported until April 2027
- **Ubuntu 20.04** - Supported until April 2025
- **AlmaLinux 10** - Supported until May 2030 โญ **NEW!**
- **AlmaLinux 9** - Supported until May 2032
- **AlmaLinux 8** - Supported until May 2029
- **RockyLinux 9** - Supported until May 2032
- **RockyLinux 8** - Supported until May 2029
- **RHEL 9** - Supported until May 2032
- **RHEL 8** - Supported until May 2029
- **CloudLinux 8** - Supported until May 2029
- **CentOS 9** - Supported until May 2027

### **๐Ÿ”ง Third-Party OS Support**

Additional operating systems may be supported through third-party repositories or community efforts:

- **Debian** - May work with Ubuntu-compatible packages
- **openEuler** - Community-supported with limited testing
- **Other RHEL derivatives** - May work with AlmaLinux/RockyLinux packages

> **Note**: For unsupported operating systems, compatibility is not guaranteed. Always test in a non-production environment first.

---

## โš™๏ธ Installation Instructions

Install CyberPanel easily with the following command:

```bash
sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)
```


---

## ๐Ÿ“Š Upgrading CyberPanel

Upgrade your CyberPanel installation using:

```bash
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)
```

---

## ๐Ÿ†• Recent Updates & Fixes

### **Bandwidth Reset Issue Fixed** (January 2025)
- **Issue**: Monthly bandwidth usage was not resetting, causing cumulative values to grow indefinitely
- **Solution**: Implemented automatic monthly bandwidth reset for all websites and child domains
- **Affected OS**: All supported operating systems (Ubuntu, AlmaLinux, RockyLinux, RHEL, CloudLinux, CentOS)
- **Manual Reset**: Use `/usr/local/CyberCP/scripts/reset_bandwidth.sh` for immediate reset
- **Documentation**: See [Bandwidth Reset Fix Guide](to-do/cyberpanel-bandwidth-reset-fix.md)

### **New Operating System Support Added** (January 2025)
- **Ubuntu 24.04.3**: Full compatibility with latest Ubuntu LTS
- **AlmaLinux 10**: Full compatibility with latest AlmaLinux release
- **Long-term Support**: Both supported until 2029-2030

---

## ๐Ÿ“š Resources

- ๐ŸŒ [Official Site](https://cyberpanel.net)
- โœ๏ธ [Docs (New)](https://cyberpanel.net/KnowledgeBase/)
- ๐ŸŽ“ [Docs (Old)](https://community.cyberpanel.net/docs)
- ๐Ÿ“– [Additional Guides](guides/INDEX.md) - Detailed guides for Docker, AI Scanner, Mautic, and more
- ๐Ÿ“š [Local Documentation](guides/) - All guides available in this repository
- ๐Ÿค [Contributing Guide](CONTRIBUTING.md) - How to contribute to CyberPanel development
- โœ… [Changelog](https://cyberpanel.net/KnowledgeBase/home/change-logs/)
- ๐Ÿ’ฌ [Forums](https://community.cyberpanel.net)
- ๐Ÿ“ข [Discord](https://discord.gg/g8k8Db3)
- ๐Ÿ“ต [Facebook Group](https://www.facebook.com/groups/cyberpanel)
- ๐ŸŽฅ [YouTube Channel](https://www.youtube.com/@Cyber-Panel)

### ๐Ÿ“– **Quick Start Guides**

- ๐Ÿณ [Docker Command Execution](guides/Docker_Command_Execution_Guide.md) - Execute commands in Docker containers
- ๐Ÿค– [AI Scanner Setup](guides/AIScannerDocs.md) - Configure AI-powered security scanning
- ๐Ÿ“ง [Mautic Installation](guides/MAUTIC_INSTALLATION_GUIDE.md) - Email marketing platform setup
- ๐Ÿ“š [All Guides Index](guides/INDEX.md) - Complete documentation hub

### ๐Ÿ”— **Direct Guide Links**

| Feature     | Guide                                                      | Description                    |
| ----------- | ---------------------------------------------------------- | ------------------------------ |
| ๐Ÿณ Docker   | [Command Execution](guides/Docker_Command_Execution_Guide.md) | Execute commands in containers |
| ๐Ÿค– Security | [AI Scanner](guides/AIScannerDocs.md)                         | AI-powered security scanning   |
| ๐Ÿ“ง Email    | [Mautic Setup](guides/MAUTIC_INSTALLATION_GUIDE.md)           | Email marketing platform       |
| ๐Ÿ“Š Bandwidth | [Reset Fix Guide](to-do/cyberpanel-bandwidth-reset-fix.md)    | Fix bandwidth reset issues     |
| ๐Ÿ“š All      | [Complete Index](guides/INDEX.md)                             | Browse all available guides    |

---

## ๐Ÿงช Testing

CyberPanel includes an OLS feature test suite with 128 tests covering all custom OpenLiteSpeed features.

### Running Tests

```bash
# On the target server, set up test data (once):
bash tests/ols_test_setup.sh

# Run the full 128-test suite:
bash tests/ols_feature_tests.sh
```

### Test Coverage

| Phase | Tests | Coverage |
|-------|-------|----------|
| Phase 1: Live Environment | 56 | Binary integrity, CyberPanel module, Auto-SSL, LE certificates, SSL listener auto-mapping, cert serving, HTTPS/HTTP, .htaccess processing, VHost config, origin headers, PHP config |
| Phase 2: ReadApacheConf | 72 | Include/IncludeOptional, global tuning, listener creation, ProxyPass, IfModule, VHost creation, SSL dedup, Directory/Location blocks, PHP version detection, ScriptAlias, HTTP/HTTPS, process health, graceful restart |

---

## ๐Ÿ”ง Troubleshooting

### **Common Issues & Solutions**

#### **Bandwidth Not Resetting Monthly**
- **Issue**: Bandwidth usage shows cumulative values instead of monthly usage
- **Solution**: Run the bandwidth reset script: `/usr/local/CyberCP/scripts/reset_bandwidth.sh`
- **Prevention**: Ensure monthly cron job is running: `0 0 1 * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/postfixSenderPolicy/client.py monthlyCleanup`


#### **General Support**
- Check logs: `/usr/local/lscp/logs/error.log`
- Verify cron jobs: `crontab -l`
- Test manual reset: Use provided scripts in `/usr/local/CyberCP/scripts/`