Fix SyntaxError in pluginInstaller due to incorrect string handling |
||
|---|---|---|
| .github | ||
| .idea | ||
| ApachController | ||
| CLManager | ||
| CLScript | ||
| CPScripts | ||
| CyberCP | ||
| IncBackups | ||
| WebTerminal | ||
| aiScanner | ||
| api | ||
| backup | ||
| baseTemplate | ||
| cli | ||
| cloudAPI | ||
| containerization | ||
| databases | ||
| dns | ||
| dockerManager | ||
| emailMarketing | ||
| emailPremium | ||
| examplePlugin | ||
| filemanager | ||
| firewall | ||
| ftp | ||
| guides | ||
| highAvailability | ||
| install | ||
| locale | ||
| loginSystem | ||
| mailServer | ||
| managePHP | ||
| manageSSL | ||
| manageServices | ||
| packages | ||
| plogical | ||
| pluginHolder | ||
| pluginInstaller | ||
| postfixSenderPolicy | ||
| s3Backups | ||
| scripts | ||
| serverLogs | ||
| serverStatus | ||
| skin_customizations | ||
| static | ||
| testPlugin | ||
| tuning | ||
| userManagment | ||
| websiteFunctions | ||
| .DS_Store | ||
| .env.template | ||
| .gitignore | ||
| AllCPUbuntu.json | ||
| CONTRIBUTING.md | ||
| CPCent7repo.json | ||
| FetchIP.sh | ||
| LICENSE | ||
| ModuleDeveloperGuide.pdf | ||
| README.md | ||
| cert.pem | ||
| cyberpanel.min.js | ||
| cyberpanel.sh | ||
| cyberpanel_upgrade.sh | ||
| cyberpanel_utility.sh | ||
| deploy_phpmyadmin_redirect.sh | ||
| faq.sh | ||
| fastapi_ssh_server.py | ||
| fastapi_ssh_server.service | ||
| fix_cyberpanel_install.sh | ||
| index.html | ||
| install.sh | ||
| langcomp.sh | ||
| lscpd-0.2.7 | ||
| lscpd-0.3.1 | ||
| lscpd.0.4.0 | ||
| lscpd.aarch64 | ||
| manage.py | ||
| phpmyadmin.zip | ||
| phpmyadmin_htaccess | ||
| phpmyadmin_index_redirect.php | ||
| preUpgrade.sh | ||
| requirments-old.txt | ||
| requirments.txt | ||
| rollback_phpmyadmin_redirect.sh | ||
| run_migration.py | ||
| test_api_auth.py | ||
| test_api_key_fix.sh | ||
| test_debian13_support.sh | ||
| test_firewall_blocking.py | ||
| ubuntu-requirments.txt | ||
| upgrade.sh | ||
| version.txt | ||
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 Integration with One-Click IP Blocking).
- 📀 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 - All available documentation in one place
- 🐳 Docker Command Execution - Execute commands in Docker containers
- 🤖 AI Scanner Setup - Configure AI-powered security scanning
- 📧 Mautic Installation - Email marketing platform setup
- 🎨 Custom CSS Guide - Create custom themes for CyberPanel 2.5.5-dev
- 🛡️ Firewall Blocking Feature - One-click IP blocking from dashboard
🔢 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) ⭐ NEW!
- PHP 8.4 - Stable version (EOL: Dec 2027)
- PHP 8.3 - Default version - 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
- Debian 13 - Supported until 2029 ⭐ NEW!
- Debian 12 - Supported until 2027
- Debian 11 - Supported until 2026
- 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:
- 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:
sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)
📊 Upgrading CyberPanel
Upgrade your CyberPanel installation using:
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 (September 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.shfor immediate reset - Documentation: See Bandwidth Reset Fix Guide
New Operating System Support Added (September 2025)
- Ubuntu 24.04.3: Full compatibility with latest Ubuntu LTS
- Debian 13: Full compatibility with latest Debian stable release
- AlmaLinux 10: Full compatibility with latest AlmaLinux release
- Long-term Support: All supported until 2029-2030
📚 Resources
- 🌐 Official Site
- ✏️ Docs (New)
- 🎓 Docs (Old)
- 📖 Additional Guides - Detailed guides for Docker, AI Scanner, Mautic, and more
- 📚 Local Documentation - All guides available in this repository
- 🤝 Contributing Guide - How to contribute to CyberPanel development
- ✅ Changelog
- 💬 Forums
- 📢 Discord
- 📵 Facebook Group
- 🎥 YouTube Channel
📖 Quick Start Guides
- 🐳 Docker Command Execution - Execute commands in Docker containers
- 🤖 AI Scanner Setup - Configure AI-powered security scanning
- 📧 Mautic Installation - Email marketing platform setup
- 🎨 Custom CSS Guide - Create custom themes for CyberPanel 2.5.5+
- 🛡️ Firewall Blocking Feature - One-click IP blocking from dashboard
- 📚 All Guides Index - Complete documentation hub
🔗 Direct Guide Links
| Feature | Guide | Description |
|---|---|---|
| 🐳 Docker | Command Execution | Execute commands in containers |
| 🤖 Security | AI Scanner | AI-powered security scanning |
| 🛡️ Firewall | Firewall Blocking Feature | One-click IP blocking from dashboard |
| Mautic Setup | Email marketing platform | |
| 🎨 Design | Custom CSS Guide | Create custom themes for 2.5.5-dev |
| 📊 Bandwidth | Reset Fix Guide | Fix bandwidth reset issues |
| 📚 All | Complete Index | Browse all available guides |
🔧 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/