mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-10-26 00:36:34 +02:00
Merge pull request #1495 from master3395/stable
docs cleanup, link fixes, container console support, almalinux 10 compatibility, and adminpass special-char handling
This commit is contained in:
@@ -49,7 +49,7 @@ Server_OS=""
|
||||
Server_OS_Version=""
|
||||
if grep -q -E "CentOS Linux 7|CentOS Linux 8" /etc/os-release ; then
|
||||
Server_OS="CentOS"
|
||||
elif grep -q "AlmaLinux-8" /etc/os-release ; then
|
||||
elif grep -q -E "AlmaLinux-8|AlmaLinux-9|AlmaLinux-10" /etc/os-release ; then
|
||||
Server_OS="AlmaLinux"
|
||||
elif grep -q -E "CloudLinux 7|CloudLinux 8" /etc/os-release ; then
|
||||
Server_OS="CloudLinux"
|
||||
|
||||
@@ -6,7 +6,7 @@ Server_OS=""
|
||||
Server_OS_Version=""
|
||||
if grep -q -E "CentOS Linux 7|CentOS Linux 8" /etc/os-release ; then
|
||||
Server_OS="CentOS"
|
||||
elif grep -q "AlmaLinux-8" /etc/os-release ; then
|
||||
elif grep -q -E "AlmaLinux-8|AlmaLinux-9|AlmaLinux-10" /etc/os-release ; then
|
||||
Server_OS="AlmaLinux"
|
||||
elif grep -q -E "CloudLinux 7|CloudLinux 8" /etc/os-release ; then
|
||||
Server_OS="CloudLinux"
|
||||
|
||||
@@ -187,6 +187,7 @@ LANGUAGES = (
|
||||
('de', _('Deutsch')),
|
||||
('id', _('Indonesian')),
|
||||
('bn', _('Bangla')),
|
||||
('nb', _('Norwegian Bokmål')),
|
||||
)
|
||||
|
||||
MEDIA_URL = '/usr/local/CyberCP/tmp/'
|
||||
|
||||
@@ -845,7 +845,7 @@ Subject: %s
|
||||
logging.statusWriter(self.statusPath,
|
||||
'It seems restic is not installed, for incremental backups to work '
|
||||
'restic must be installed. You can manually install restic using this '
|
||||
'guide -> https://go.cyberpanel.net/restic. [5009]', 1)
|
||||
'guide -> https://cyberpanel.net/KnowledgeBase/. [5009]', 1)
|
||||
pass
|
||||
|
||||
return 0
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Create V2 Backup" %} - <a target="_blank" href="http://go.cyberpanel.net/backup"
|
||||
<h2>{% trans "Create V2 Backup" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/backup-v2-in-cyberpanel/"
|
||||
style="height: 23px;line-height: 21px;"
|
||||
class="btn btn-border btn-alt border-red btn-link font-red"
|
||||
title=""><span>{% trans "Backup Docs" %}</span></a></h2>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<div class="container">
|
||||
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Delete V2 Repo" %} - <a target="_blank" href="http://go.cyberpanel.net/backup"
|
||||
<h2>{% trans "Delete V2 Repo" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/backup-v2-in-cyberpanel/"
|
||||
style="height: 23px;line-height: 21px;"
|
||||
class="btn btn-border btn-alt border-red btn-link font-red"
|
||||
title=""><span>{% trans "Backup Docs" %}</span></a></h2>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
{% if BackupStat %}
|
||||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Restore V2 Backups" %} - <a target="_blank" href="http://go.cyberpanel.net/backup"
|
||||
<h2>{% trans "Restore V2 Backups" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/backup-v2-in-cyberpanel/"
|
||||
style="height: 23px;line-height: 21px;"
|
||||
class="btn btn-border btn-alt border-red btn-link font-red"
|
||||
title=""><span>{% trans "Backup Docs" %}</span></a></h2>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
{% if BackupStat %}
|
||||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Schedule V2 Backup" %} - <a target="_blank" href="http://go.cyberpanel.net/backup"
|
||||
<h2>{% trans "Schedule V2 Backup" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/backup-v2-in-cyberpanel/"
|
||||
style="height: 23px;line-height: 21px;"
|
||||
class="btn btn-border btn-alt border-red btn-link font-red"
|
||||
title=""><span>{% trans "Backup Docs" %}</span></a></h2>
|
||||
|
||||
176
README.md
176
README.md
@@ -14,132 +14,88 @@ Web Hosting Control Panel powered by OpenLiteSpeed, designed to simplify hosting
|
||||
- 📧 **Email Support** (SnappyMail).
|
||||
- 🕌 **File Manager** for quick file access.
|
||||
- 🌐 **PHP Management** made easy.
|
||||
- 🔒 **Firewall** (✅ FirewallD & ConfigServer Firewall Integration).
|
||||
- 🔒 **Firewall** (FirewallD & ConfigServer Firewall Integration).
|
||||
- 📀 **One-click Backups and Restores**.
|
||||
- 🐳 **Docker Management** with command execution capabilities.
|
||||
- 🤖 **AI-Powered Security Scanner** for enhanced protection.
|
||||
|
||||
---
|
||||
|
||||
## 📖 **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 PHP versions based on your operating system:
|
||||
CyberPanel supports a wide range of PHP versions across different operating systems:
|
||||
|
||||
### ☑️ **PHP 8.0 and Above**
|
||||
- Fully supported on modern systems such as Ubuntu 22.04 and AlmaLinux 9.x and higher.
|
||||
### ☑️ **Currently Supported PHP Versions**
|
||||
|
||||
### ☑️ **PHP 7.4 and Below**
|
||||
- Compatible with AlmaLinux 8, Ubuntu 18.04, and similar environments.
|
||||
- **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)
|
||||
|
||||
### Adding PHP Versions as Third-Party Add-ons
|
||||
### 🔧 **Third-Party PHP Add-ons**
|
||||
|
||||
Some PHP versions can be added to operating systems as third-party packages using external repositories or tools. Here's an overview by OS:
|
||||
For additional PHP versions or specific requirements, you can install third-party packages:
|
||||
|
||||
#### **Ubuntu**:
|
||||
- **Ubuntu 22.04**:
|
||||
- Highest: PHP 8.5 (default repository or Ondrej's PPA).
|
||||
- Lowest: PHP 7.4 (via Ondrej's PPA).
|
||||
- **Ubuntu 20.04**:
|
||||
- Highest: PHP 8.5 (default repository or Ondrej's PPA).
|
||||
- Lowest: PHP 7.0 (via Ondrej's PPA).
|
||||
- **Ubuntu 18.04**:
|
||||
- Highest: PHP 8.4 (via Ondrej's PPA).
|
||||
- Lowest: PHP 5.6 (via Ondrej's PPA).
|
||||
#### **Ubuntu/Debian**
|
||||
|
||||
#### **AlmaLinux**:
|
||||
- **AlmaLinux 9**:
|
||||
- Highest: PHP 8.5 (default repository or Remi repository).
|
||||
- Lowest: PHP 7.4 (via Remi repository).
|
||||
- **AlmaLinux 8**:
|
||||
- Highest: PHP 8.4 (default repository or Remi repository).
|
||||
- Lowest: PHP 5.6 (via Remi repository).
|
||||
- **Ondrej's PPA**: Provides PHP 5.6 to 8.5
|
||||
- **Sury's PPA**: Alternative repository with latest PHP versions
|
||||
|
||||
#### **CentOS**:
|
||||
- **CentOS 9**:
|
||||
- Highest: PHP 8.4 (via Remi repository).
|
||||
- Lowest: PHP 7.4 (via Remi repository).
|
||||
- **CentOS 8**:
|
||||
- Highest: PHP 8.4 (via Remi repository).
|
||||
- Lowest: PHP 5.6 (via Remi repository).
|
||||
- **CentOS 7**:
|
||||
- Highest: PHP 8.0 (via Remi repository).
|
||||
- Lowest: PHP 5.4 (via Remi repository).
|
||||
#### **RHEL-based Systems** (AlmaLinux, RockyLinux, CentOS, RHEL)
|
||||
|
||||
#### **RHEL**:
|
||||
- **RHEL 9**:
|
||||
- Highest: PHP 8.4 (via Remi repository).
|
||||
- Lowest: PHP 7.4 (via Remi repository).
|
||||
- **RHEL 8**:
|
||||
- Highest: PHP 8.4 (via Remi repository).
|
||||
- Lowest: PHP 5.6 (via Remi repository).
|
||||
- **Remi Repository**: Comprehensive PHP package collection
|
||||
- **EPEL Repository**: Additional packages for enterprise Linux
|
||||
|
||||
#### **RockyLinux**:
|
||||
- **RockyLinux 8**:
|
||||
- Highest: PHP 8.5 (via Remi repository).
|
||||
- Lowest: PHP 5.6 (via Remi repository).
|
||||
#### **CloudLinux**
|
||||
|
||||
#### **CloudLinux**:
|
||||
- **CloudLinux 8**:
|
||||
- Highest: PHP 8.5 (via Remi repository).
|
||||
- Lowest: PHP 5.6 (via Remi repository).
|
||||
- **CloudLinux 7**:
|
||||
- Highest: PHP 8.0 (via Remi repository).
|
||||
- Lowest: PHP 5.4 (via Remi repository).
|
||||
- **CloudLinux PHP Selector**: Built-in tool for managing multiple PHP versions
|
||||
- **Remi Repository**: Additional PHP versions and extensions
|
||||
|
||||
#### **openEuler**:
|
||||
- **openEuler 22.03**:
|
||||
- Highest: PHP 8.4 (default repository).
|
||||
- Lowest: PHP 7.4 (default repository).
|
||||
- **openEuler 20.03**:
|
||||
- Highest: PHP 7.3 (default repository).
|
||||
- Lowest: PHP 7.0 (default repository).
|
||||
|
||||
### Full List of PHP Versions and End of Life (EOL) Dates:
|
||||
- ✨ **PHP 8.5** - EOL: 31 Dec 2028.
|
||||
- ✨ **PHP 8.4** - EOL: 31 Dec 2027.
|
||||
- ✨ **PHP 8.3** - EOL: 31 Dec 2027.
|
||||
- ✨ **PHP 8.2** - EOL: 31 Dec 2026.
|
||||
- ✨ **PHP 8.1** - EOL: 31 Dec 2025.
|
||||
- 🛑 **PHP 8.0** - EOL: 26 Nov 2023.
|
||||
- 🛑 **PHP 7.4** - EOL: 28 Nov 2022.
|
||||
- 🛑 **PHP 7.3** - EOL: 6 Dec 2021.
|
||||
- 🛑 **PHP 7.2** - EOL: 30 Nov 2020.
|
||||
- 🛑 **PHP 7.1** - EOL: 1 Dec 2019.
|
||||
- 🛑 **PHP 7.0** - EOL: 10 Jan 2019.
|
||||
- 🛑 **PHP 5.6** - EOL: 31 Dec 2018.
|
||||
- 🛑 **PHP 5.5** - EOL: 21 Jul 2016.
|
||||
- 🛑 **PHP 5.4** - EOL: 3 Sep 2015.
|
||||
- 🛑 **PHP 5.3** - EOL: 14 Aug 2014.
|
||||
> **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 OS Versions
|
||||
## 🌐 Supported Operating Systems
|
||||
|
||||
CyberPanel runs on x86_64 architecture and supports the following operating systems:
|
||||
|
||||
### **Ubuntu**:
|
||||
- Ubuntu 22.04 ✅ Supported until April 2027.
|
||||
- Ubuntu 20.04 ✅ Supported until April 2025.
|
||||
- Ubuntu 18.04 🛑 EOL: 31 May 2023.
|
||||
### **✅ Currently Supported**
|
||||
|
||||
### **CentOS**:
|
||||
- CentOS 9 ✅ EOL: 31 May 2027.
|
||||
- CentOS 8 🛑 EOL: 31 Dec 2021.
|
||||
- CentOS 7 🛑 EOL: 30 June 2024.
|
||||
- **Ubuntu 22.04** - Supported until April 2027
|
||||
- **Ubuntu 20.04** - Supported until April 2025
|
||||
- **AlmaLinux 10** - Supported until May 2030
|
||||
- **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
|
||||
|
||||
### **RHEL**:
|
||||
- RHEL 9 ✅ EOL: 31 May 2032.
|
||||
- RHEL 8 ✅ EOL: 31 May 2029.
|
||||
### **🔧 Third-Party OS Support**
|
||||
|
||||
### **AlmaLinux**:
|
||||
- AlmaLinux 9 ✅ EOL: 31 May 2032.
|
||||
- AlmaLinux 8 ✅ EOL: 31 May 2029.
|
||||
Additional operating systems may be supported through third-party repositories or community efforts:
|
||||
|
||||
### **Other OS**:
|
||||
- RockyLinux 9 ✅ EOL: 31 May 2032.
|
||||
- RockyLinux 8 ✅ EOL: 31 May 2029.
|
||||
- CloudLinux 8 ✅ EOL: 31 May 2029.
|
||||
- CloudLinux 7 🛑 EOL: 1 Jul 2024.
|
||||
- openEuler 22.03 🛑 EOL: March 2024.
|
||||
- openEuler 20.03 🛑 EOL: April 2022.
|
||||
- **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.
|
||||
|
||||
---
|
||||
|
||||
@@ -166,12 +122,28 @@ sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgr
|
||||
## 📚 Resources
|
||||
|
||||
- 🌐 [Official Site](https://cyberpanel.net)
|
||||
- ✏️ [Docs (Old)](https://docs.cyberpanel.net)
|
||||
- 🎓 [Docs (New)](https://community.cyberpanel.net/docs)
|
||||
- ✏️ [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
|
||||
- ✅ [Changelog](https://community.cyberpanel.net/t/change-logs/161)
|
||||
- 💬 [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 |
|
||||
| 📚 All | [Complete Index](guides/INDEX.md) | Browse all available guides |
|
||||
|
||||
@@ -461,7 +461,7 @@
|
||||
</h1>
|
||||
<p class="page-subtitle">{% trans "Create and manage backups of your websites to ensure data safety" %}</p>
|
||||
<div class="header-actions">
|
||||
<a href="http://go.cyberpanel.net/backup" target="_blank" class="btn-secondary">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/backup-restore/" target="_blank" class="btn-secondary">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Backup Documentation" %}
|
||||
</a>
|
||||
|
||||
@@ -380,7 +380,7 @@
|
||||
</h1>
|
||||
<p class="page-subtitle">{% trans "Restore your websites from backups created by CyberPanel" %}</p>
|
||||
<div class="header-actions">
|
||||
<a href="http://go.cyberpanel.net/backup" target="_blank" class="btn-secondary">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/backup-restore/" target="_blank" class="btn-secondary">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Backup Documentation" %}
|
||||
</a>
|
||||
|
||||
@@ -322,7 +322,7 @@
|
||||
{% trans "directory. Select a backup folder and file to begin the restoration process." %}
|
||||
</p>
|
||||
<div class="header-actions">
|
||||
<a href="http://go.cyberpanel.net/backup"
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/backup-restore/"
|
||||
target="_blank"
|
||||
class="btn-secondary">
|
||||
<i class="fas fa-book"></i>
|
||||
|
||||
@@ -173,7 +173,7 @@
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div id="uploadBoxLabel" class="modal-header">
|
||||
<h5 class="modal-title" >{% trans "Upload File" %} - <a target="_blank" href="https://go.cyberpanel.net/upload-limits" title="">{% trans "Upload Limits" %}</a></h5>
|
||||
<h5 class="modal-title" >{% trans "Upload File" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/website-file-manager/" title="">{% trans "Upload Limits" %}</a></h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
|
||||
@@ -587,7 +587,7 @@
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div id="uploadBoxLabel" class="modal-header">
|
||||
<h5 class="modal-title">{% trans "Upload File" %} - <a target="_blank" href="https://go.cyberpanel.net/upload-limits" title="">{% trans "Upload Limits" %}</a></h5>
|
||||
<h5 class="modal-title">{% trans "Upload File" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/website-file-manager/" title="">{% trans "Upload Limits" %}</a></h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
|
||||
@@ -1046,7 +1046,7 @@
|
||||
</div>
|
||||
<span>Connect</span>
|
||||
</a>
|
||||
<a href="https://go.cyberpanel.net/community" class="menu-item" target="_blank">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/" class="menu-item" target="_blank">
|
||||
<div class="icon-wrapper">
|
||||
<i class="fas fa-comments"></i>
|
||||
</div>
|
||||
|
||||
@@ -423,7 +423,7 @@
|
||||
{% trans "Initial Configurations" %}
|
||||
</h1>
|
||||
<p>{% trans "Configure Hostname and other default Settings for CyberPanel" %}</p>
|
||||
<a href="https://go.cyberpanel.net/setup-wizard" target="_blank" class="learn-more-btn">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/onboarding-and-initial-cyberpanel-configurations/" target="_blank" class="learn-more-btn">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Learn More" %}
|
||||
</a>
|
||||
|
||||
@@ -530,6 +530,8 @@ elif grep -q "AlmaLinux-8" /etc/os-release ; then
|
||||
Server_OS="AlmaLinux"
|
||||
elif grep -q "AlmaLinux-9" /etc/os-release ; then
|
||||
Server_OS="AlmaLinux"
|
||||
elif grep -q "AlmaLinux-10" /etc/os-release ; then
|
||||
Server_OS="AlmaLinux"
|
||||
elif grep -q -E "CloudLinux 7|CloudLinux 8" /etc/os-release ; then
|
||||
Server_OS="CloudLinux"
|
||||
elif grep -q -E "Rocky Linux" /etc/os-release ; then
|
||||
@@ -540,8 +542,8 @@ elif grep -q -E "openEuler 20.03|openEuler 22.03" /etc/os-release ; then
|
||||
Server_OS="openEuler"
|
||||
else
|
||||
echo -e "Unable to detect your system..."
|
||||
echo -e "\nCyberPanel is supported on x86_64 based Ubuntu 18.04, Ubuntu 20.04, Ubuntu 20.10, Ubuntu 22.04, Ubuntu 24.04, CentOS 7, CentOS 8, CentOS 9, RHEL 8, RHEL 9, AlmaLinux 8, AlmaLinux 9, RockyLinux 8, CloudLinux 7, CloudLinux 8, openEuler 20.03, openEuler 22.03...\n"
|
||||
Debug_Log2 "CyberPanel is supported on x86_64 based Ubuntu 18.04, Ubuntu 20.04, Ubuntu 20.10, Ubuntu 22.04, Ubuntu 24.04, CentOS 7, CentOS 8, CentOS 9, RHEL 8, RHEL 9, AlmaLinux 8, RockyLinux 8, AlmaLinux 9, CloudLinux 7, CloudLinux 8, openEuler 20.03, openEuler 22.03... [404]"
|
||||
echo -e "\nCyberPanel is supported on x86_64 based Ubuntu 18.04, Ubuntu 20.04, Ubuntu 20.10, Ubuntu 22.04, Ubuntu 24.04, CentOS 7, CentOS 8, CentOS 9, RHEL 8, RHEL 9, AlmaLinux 8, AlmaLinux 9, AlmaLinux 10, RockyLinux 8, CloudLinux 7, CloudLinux 8, openEuler 20.03, openEuler 22.03...\n"
|
||||
Debug_Log2 "CyberPanel is supported on x86_64 based Ubuntu 18.04, Ubuntu 20.04, Ubuntu 20.10, Ubuntu 22.04, Ubuntu 24.04, CentOS 7, CentOS 8, CentOS 9, RHEL 8, RHEL 9, AlmaLinux 8, AlmaLinux 9, AlmaLinux 10, RockyLinux 8, CloudLinux 7, CloudLinux 8, openEuler 20.03, openEuler 22.03... [404]"
|
||||
exit
|
||||
fi
|
||||
|
||||
@@ -2056,7 +2058,7 @@ echo -e " Run \e[31mcyberpanel utility\e[39m to access some handy to
|
||||
echo " "
|
||||
echo " Website : https://www.cyberpanel.net "
|
||||
echo " Forums : https://forums.cyberpanel.net "
|
||||
echo " Wikipage: https://docs.cyberpanel.net "
|
||||
echo " Wikipage: https://cyberpanel.net/KnowledgeBase/ "
|
||||
echo " Docs : https://cyberpanel.net/docs/ "
|
||||
echo " "
|
||||
echo -e " Enjoy your accelerated Internet by "
|
||||
@@ -2259,7 +2261,7 @@ chmod 600 /etc/cyberpanel/adminPass
|
||||
/usr/local/CyberPanel/bin/python /usr/local/CyberCP/plogical/adminPass.py --password "$Admin_Pass"
|
||||
mkdir -p /etc/opendkim
|
||||
|
||||
echo '/usr/local/CyberPanel/bin/python /usr/local/CyberCP/plogical/adminPass.py --password $@' > /usr/bin/adminPass
|
||||
echo '/usr/local/CyberPanel/bin/python /usr/local/CyberCP/plogical/adminPass.py --password "$@"' > /usr/bin/adminPass
|
||||
echo "systemctl restart lscpd" >> /usr/bin/adminPass
|
||||
echo "echo \$@ > /etc/cyberpanel/adminPass" >> /usr/bin/adminPass
|
||||
chmod 700 /usr/bin/adminPass
|
||||
|
||||
@@ -149,7 +149,7 @@ elif grep -q -E "CloudLinux 7|CloudLinux 8|CloudLinux 9" /etc/os-release ; then
|
||||
Server_OS="CloudLinux"
|
||||
elif grep -q -E "Rocky Linux" /etc/os-release ; then
|
||||
Server_OS="RockyLinux"
|
||||
elif grep -q -E "AlmaLinux-8|AlmaLinux-9" /etc/os-release ; then
|
||||
elif grep -q -E "AlmaLinux-8|AlmaLinux-9|AlmaLinux-10" /etc/os-release ; then
|
||||
Server_OS="AlmaLinux"
|
||||
elif grep -q -E "Ubuntu 18.04|Ubuntu 20.04|Ubuntu 20.10|Ubuntu 22.04|Ubuntu 24.04" /etc/os-release ; then
|
||||
Server_OS="Ubuntu"
|
||||
@@ -157,8 +157,8 @@ elif grep -q -E "openEuler 20.03|openEuler 22.03" /etc/os-release ; then
|
||||
Server_OS="openEuler"
|
||||
else
|
||||
echo -e "Unable to detect your system..."
|
||||
echo -e "\nCyberPanel is supported on x86_64 based Ubuntu 18.04, Ubuntu 20.04, Ubuntu 20.10, Ubuntu 22.04, Ubuntu 24.04, CentOS 7, CentOS 8, AlmaLinux 8, RockyLinux 8, CloudLinux 7, CloudLinux 8, CloudLinux 9, openEuler 20.03, openEuler 22.03...\n"
|
||||
Debug_Log2 "CyberPanel is supported on x86_64 based Ubuntu 18.04, Ubuntu 20.04, Ubuntu 20.10, Ubuntu 22.04, Ubuntu 24.04, CentOS 7, CentOS 8, AlmaLinux 8, RockyLinux 8, CloudLinux 7, CloudLinux 8, CloudLinux 9, openEuler 20.03, openEuler 22.03... [404]"
|
||||
echo -e "\nCyberPanel is supported on x86_64 based Ubuntu 18.04, Ubuntu 20.04, Ubuntu 20.10, Ubuntu 22.04, Ubuntu 24.04, CentOS 7, CentOS 8, AlmaLinux 8, AlmaLinux 9, AlmaLinux 10, RockyLinux 8, CloudLinux 7, CloudLinux 8, CloudLinux 9, openEuler 20.03, openEuler 22.03...\n"
|
||||
Debug_Log2 "CyberPanel is supported on x86_64 based Ubuntu 18.04, Ubuntu 20.04, Ubuntu 20.10, Ubuntu 22.04, Ubuntu 24.04, CentOS 7, CentOS 8, AlmaLinux 8, AlmaLinux 9, AlmaLinux 10, RockyLinux 8, CloudLinux 7, CloudLinux 8, CloudLinux 9, openEuler 20.03, openEuler 22.03... [404]"
|
||||
exit
|
||||
fi
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ check_OS() {
|
||||
Server_OS="CentOS"
|
||||
elif grep -q "Red Hat Enterprise Linux" /etc/os-release ; then
|
||||
Server_OS="RedHat"
|
||||
elif grep -q "AlmaLinux-8" /etc/os-release ; then
|
||||
elif grep -q -E "AlmaLinux-8|AlmaLinux-9|AlmaLinux-10" /etc/os-release ; then
|
||||
Server_OS="AlmaLinux"
|
||||
elif grep -q -E "CloudLinux 7|CloudLinux 8" /etc/os-release ; then
|
||||
Server_OS="CloudLinux"
|
||||
@@ -29,7 +29,7 @@ check_OS() {
|
||||
Server_OS="openEuler"
|
||||
else
|
||||
echo -e "Unable to detect your system..."
|
||||
echo -e "\nCyberPanel is supported on x86_64 based Ubuntu 18.04, Ubuntu 20.04, Ubuntu 20.10, Ubuntu 22.04, CentOS 7, CentOS 8, AlmaLinux 8, RockyLinux 8, CloudLinux 7, CloudLinux 8, openEuler 20.03, openEuler 22.03...\n"
|
||||
echo -e "\nCyberPanel is supported on x86_64 based Ubuntu 18.04, Ubuntu 20.04, Ubuntu 20.10, Ubuntu 22.04, CentOS 7, CentOS 8, AlmaLinux 8, AlmaLinux 9, AlmaLinux 10, RockyLinux 8, CloudLinux 7, CloudLinux 8, openEuler 20.03, openEuler 22.03...\n"
|
||||
exit
|
||||
fi
|
||||
|
||||
|
||||
@@ -657,7 +657,7 @@
|
||||
<h1 class="dns-title">{% trans "DNS Records Manager" %}</h1>
|
||||
<p class="dns-subtitle">{% trans "Manage DNS records for your domains with an intuitive interface" %}</p>
|
||||
</div>
|
||||
<a href="http://go.cyberpanel.net/dns-records" target="_blank" class="docs-link">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/manage-dns-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "DNS Documentation" %}
|
||||
</a>
|
||||
|
||||
@@ -447,7 +447,7 @@
|
||||
<h1 class="page-title">
|
||||
<i class="fas fa-globe"></i>
|
||||
{% trans "CloudFlare DNS Management" %}
|
||||
<a target="_blank" href="http://go.cyberpanel.net/dns-records" class="docs-link">
|
||||
<a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/manage-dns-in-cyberpanel/" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "DNS Docs" %}
|
||||
</a>
|
||||
|
||||
@@ -476,7 +476,7 @@
|
||||
<p class="default-ns-subtitle">
|
||||
{% trans "Set up default nameservers that will be automatically assigned to all new DNS zones created on this server" %}
|
||||
</p>
|
||||
<a href="http://go.cyberpanel.net/dns-records" target="_blank" class="docs-link">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/manage-dns-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "DNS Documentation" %}
|
||||
</a>
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
<p class="dns-zone-subtitle">
|
||||
{% trans "Set up a new DNS zone for your domain to manage its DNS records" %}
|
||||
</p>
|
||||
<a href="http://go.cyberpanel.net/dns-records" target="_blank" class="docs-link">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/manage-dns-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "DNS Documentation" %}
|
||||
</a>
|
||||
|
||||
@@ -476,7 +476,7 @@
|
||||
<p class="nameserver-subtitle">
|
||||
{% trans "Set up custom nameservers to allow people on the internet to resolve websites hosted on this server" %}
|
||||
</p>
|
||||
<a href="http://go.cyberpanel.net/dns-records" target="_blank" class="docs-link">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/manage-dns-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "DNS Documentation" %}
|
||||
</a>
|
||||
|
||||
@@ -205,7 +205,7 @@
|
||||
|
||||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Delete DNS Zone" %} - <a target="_blank" href="http://go.cyberpanel.net/dns-records" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "DNS Docs" %}</span></a></h2>
|
||||
<h2>{% trans "Delete DNS Zone" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/manage-dns-in-cyberpanel/" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "DNS Docs" %}</span></a></h2>
|
||||
<p>{% trans "This page can be used to delete DNS Zone. Deleting the DNS zone will remove all its related records as well." %}</p>
|
||||
</div>
|
||||
<div class="panel">
|
||||
|
||||
@@ -397,7 +397,7 @@
|
||||
<p class="reset-dns-subtitle">
|
||||
{% trans "Reset your DNS configurations to their default state. This will restore all DNS settings to their initial values." %}
|
||||
</p>
|
||||
<a href="http://go.cyberpanel.net/dns-records" target="_blank" class="docs-link">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/manage-dns-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "DNS Documentation" %}
|
||||
</a>
|
||||
|
||||
@@ -1319,4 +1319,97 @@ class ContainerManager(multi.Thread):
|
||||
except BaseException as msg:
|
||||
data_ret = {'removeImageStatus': 0, 'error_message': str(msg)}
|
||||
json_data = json.dumps(data_ret)
|
||||
return HttpResponse(json_data)
|
||||
|
||||
def executeContainerCommand(self, userID=None, data=None):
|
||||
"""
|
||||
Execute a command inside a running Docker container
|
||||
"""
|
||||
try:
|
||||
name = data['name']
|
||||
command = data['command']
|
||||
|
||||
# Check if container is registered in database or unlisted
|
||||
if Containers.objects.filter(name=name).exists():
|
||||
if ACLManager.checkContainerOwnership(name, userID) != 1:
|
||||
return ACLManager.loadErrorJson('commandStatus', 0)
|
||||
|
||||
client = docker.from_env()
|
||||
dockerAPI = docker.APIClient()
|
||||
|
||||
try:
|
||||
container = client.containers.get(name)
|
||||
except docker.errors.NotFound as err:
|
||||
data_ret = {'commandStatus': 0, 'error_message': 'Container does not exist'}
|
||||
json_data = json.dumps(data_ret)
|
||||
return HttpResponse(json_data)
|
||||
except:
|
||||
data_ret = {'commandStatus': 0, 'error_message': 'Unknown error'}
|
||||
json_data = json.dumps(data_ret)
|
||||
return HttpResponse(json_data)
|
||||
|
||||
# Check if container is running
|
||||
if container.status != 'running':
|
||||
data_ret = {'commandStatus': 0, 'error_message': 'Container must be running to execute commands'}
|
||||
json_data = json.dumps(data_ret)
|
||||
return HttpResponse(json_data)
|
||||
|
||||
try:
|
||||
# Execute command in container
|
||||
# Split command into parts for proper execution
|
||||
import shlex
|
||||
command_parts = shlex.split(command)
|
||||
|
||||
# Execute command with proper shell
|
||||
exec_result = container.exec_run(
|
||||
command_parts,
|
||||
stdout=True,
|
||||
stderr=True,
|
||||
stdin=False,
|
||||
tty=False,
|
||||
privileged=False,
|
||||
user='',
|
||||
detach=False,
|
||||
demux=False,
|
||||
workdir=None,
|
||||
environment=None
|
||||
)
|
||||
|
||||
# Get output and exit code
|
||||
output = exec_result.output.decode('utf-8') if exec_result.output else ''
|
||||
exit_code = exec_result.exit_code
|
||||
|
||||
# Format the response
|
||||
if exit_code == 0:
|
||||
data_ret = {
|
||||
'commandStatus': 1,
|
||||
'error_message': 'None',
|
||||
'output': output,
|
||||
'exit_code': exit_code,
|
||||
'command': command
|
||||
}
|
||||
else:
|
||||
data_ret = {
|
||||
'commandStatus': 1,
|
||||
'error_message': 'Command executed with non-zero exit code',
|
||||
'output': output,
|
||||
'exit_code': exit_code,
|
||||
'command': command
|
||||
}
|
||||
|
||||
json_data = json.dumps(data_ret, ensure_ascii=False)
|
||||
return HttpResponse(json_data)
|
||||
|
||||
except docker.errors.APIError as err:
|
||||
data_ret = {'commandStatus': 0, 'error_message': f'Docker API error: {str(err)}'}
|
||||
json_data = json.dumps(data_ret)
|
||||
return HttpResponse(json_data)
|
||||
except Exception as err:
|
||||
data_ret = {'commandStatus': 0, 'error_message': f'Execution error: {str(err)}'}
|
||||
json_data = json.dumps(data_ret)
|
||||
return HttpResponse(json_data)
|
||||
|
||||
except BaseException as msg:
|
||||
data_ret = {'commandStatus': 0, 'error_message': str(msg)}
|
||||
json_data = json.dumps(data_ret)
|
||||
return HttpResponse(json_data)
|
||||
@@ -976,6 +976,101 @@ app.controller('viewContainer', function ($scope, $http, $interval, $timeout) {
|
||||
}
|
||||
};
|
||||
|
||||
// Command execution functionality
|
||||
$scope.commandToExecute = '';
|
||||
$scope.executingCommand = false;
|
||||
$scope.commandOutput = null;
|
||||
$scope.commandHistory = [];
|
||||
|
||||
$scope.showCommandModal = function() {
|
||||
$scope.commandToExecute = '';
|
||||
$scope.commandOutput = null;
|
||||
$("#commandModal").modal("show");
|
||||
};
|
||||
|
||||
$scope.executeCommand = function() {
|
||||
if (!$scope.commandToExecute.trim()) {
|
||||
new PNotify({
|
||||
title: 'Error',
|
||||
text: 'Please enter a command to execute',
|
||||
type: 'error'
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
$scope.executingCommand = true;
|
||||
$scope.commandOutput = null;
|
||||
|
||||
url = "/docker/executeContainerCommand";
|
||||
var data = {
|
||||
name: $scope.cName,
|
||||
command: $scope.commandToExecute.trim()
|
||||
};
|
||||
|
||||
var config = {
|
||||
headers: {
|
||||
'X-CSRFToken': getCookie('csrftoken')
|
||||
}
|
||||
};
|
||||
|
||||
$http.post(url, data, config).then(ListInitialData, cantLoadInitialData);
|
||||
|
||||
function ListInitialData(response) {
|
||||
console.log(response);
|
||||
$scope.executingCommand = false;
|
||||
|
||||
if (response.data.commandStatus === 1) {
|
||||
$scope.commandOutput = {
|
||||
command: response.data.command,
|
||||
output: response.data.output,
|
||||
exit_code: response.data.exit_code
|
||||
};
|
||||
|
||||
// Add to command history
|
||||
$scope.commandHistory.unshift({
|
||||
command: response.data.command,
|
||||
timestamp: new Date()
|
||||
});
|
||||
|
||||
// Keep only last 10 commands
|
||||
if ($scope.commandHistory.length > 10) {
|
||||
$scope.commandHistory = $scope.commandHistory.slice(0, 10);
|
||||
}
|
||||
|
||||
// Show success notification
|
||||
new PNotify({
|
||||
title: 'Command Executed',
|
||||
text: 'Command completed with exit code: ' + response.data.exit_code,
|
||||
type: response.data.exit_code === 0 ? 'success' : 'warning'
|
||||
});
|
||||
}
|
||||
else {
|
||||
new PNotify({
|
||||
title: 'Command Execution Failed',
|
||||
text: response.data.error_message,
|
||||
type: 'error'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function cantLoadInitialData(response) {
|
||||
$scope.executingCommand = false;
|
||||
new PNotify({
|
||||
title: 'Command Execution Failed',
|
||||
text: 'Could not connect to server',
|
||||
type: 'error'
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
$scope.selectCommand = function(command) {
|
||||
$scope.commandToExecute = command;
|
||||
};
|
||||
|
||||
$scope.clearOutput = function() {
|
||||
$scope.commandOutput = null;
|
||||
};
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
@@ -756,6 +756,11 @@
|
||||
<i class="fas fa-terminal action-icon" style="color: #ec4899;"></i>
|
||||
<div class="action-text">{% trans "Processes" %}</div>
|
||||
</div>
|
||||
|
||||
<div class="action-btn" ng-click="showCommandModal()" ng-disabled="status!='running'">
|
||||
<i class="fas fa-code action-icon" style="color: #10b981;"></i>
|
||||
<div class="action-text">{% trans "Run Command" %}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -957,6 +962,94 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Command Execution Modal -->
|
||||
<div id="commandModal" class="modal fade" role="dialog">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">
|
||||
<i class="fas fa-code" style="margin-right: 0.5rem;"></i>
|
||||
{% trans "Execute Command" %}
|
||||
</h4>
|
||||
<button type="button" class="close" data-dismiss="modal"
|
||||
style="font-size: 1.5rem; background: transparent; border: none;">×</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-group">
|
||||
<label for="commandInput" class="control-label">
|
||||
<i class="fas fa-terminal" style="margin-right: 0.5rem;"></i>
|
||||
{% trans "Command to execute" %}
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<input type="text"
|
||||
id="commandInput"
|
||||
class="form-control"
|
||||
ng-model="commandToExecute"
|
||||
placeholder="Enter command (e.g., ls -la, ps aux, whoami, env)"
|
||||
ng-keyup="$event.keyCode === 13 && executeCommand()"
|
||||
style="font-family: 'Courier New', monospace;">
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-outline-secondary" type="button" ng-click="executeCommand()" ng-disabled="!commandToExecute || executingCommand">
|
||||
<i class="fas fa-play" ng-hide="executingCommand"></i>
|
||||
<i class="fas fa-spinner fa-spin" ng-show="executingCommand"></i>
|
||||
{% trans "Execute" %}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<small class="form-text text-muted">
|
||||
{% trans "Commands will be executed inside the running container. Use proper shell syntax." %}
|
||||
</small>
|
||||
</div>
|
||||
|
||||
<!-- Command History -->
|
||||
<div class="form-group" ng-show="commandHistory.length > 0">
|
||||
<label class="control-label">
|
||||
<i class="fas fa-history" style="margin-right: 0.5rem;"></i>
|
||||
{% trans "Command History" %}
|
||||
</label>
|
||||
<div class="command-history">
|
||||
<div class="history-item"
|
||||
ng-repeat="cmd in commandHistory track by $index"
|
||||
ng-click="selectCommand(cmd.command)"
|
||||
style="cursor: pointer; padding: 0.25rem 0.5rem; margin: 0.125rem 0; background: #f8f9fa; border-radius: 4px; border-left: 3px solid #007bff;">
|
||||
<code style="font-size: 0.875rem;">{{ cmd.command }}</code>
|
||||
<small class="text-muted" style="float: right;">{{ cmd.timestamp | date:'short' }}</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Output Display -->
|
||||
<div class="form-group" ng-show="commandOutput">
|
||||
<label class="control-label">
|
||||
<i class="fas fa-terminal" style="margin-right: 0.5rem;"></i>
|
||||
{% trans "Command Output" %}
|
||||
</label>
|
||||
<div class="terminal-output" style="background: #1a202c; color: #e2e8f0; padding: 1rem; border-radius: 8px; font-family: 'Courier New', monospace; font-size: 0.875rem; max-height: 300px; overflow-y: auto; white-space: pre-wrap;">
|
||||
<div ng-show="commandOutput.exit_code !== undefined" style="margin-bottom: 0.5rem;">
|
||||
<span style="color: #68d391;">$</span> <span style="color: #fbb6ce;">{{ commandOutput.command }}</span>
|
||||
<span style="color: #a0aec0; margin-left: 1rem;">(exit code: {{ commandOutput.exit_code }})</span>
|
||||
</div>
|
||||
<div ng-bind="commandOutput.output"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary" ng-click="executeCommand()" ng-disabled="!commandToExecute || executingCommand">
|
||||
<i class="fas fa-play" ng-hide="executingCommand"></i>
|
||||
<i class="fas fa-spinner fa-spin" ng-show="executingCommand"></i>
|
||||
{% trans "Execute Command" %}
|
||||
</button>
|
||||
<button type="button" class="btn btn-secondary" ng-click="clearOutput()" ng-disabled="!commandOutput">
|
||||
<i class="fas fa-trash"></i> {% trans "Clear Output" %}
|
||||
</button>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">
|
||||
<i class="fas fa-times"></i> {% trans "Close" %}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@@ -36,6 +36,7 @@ urlpatterns = [
|
||||
path('recreateappcontainer', views.recreateappcontainer, name='recreateappcontainer'),
|
||||
path('RestartContainerAPP', views.RestartContainerAPP, name='RestartContainerAPP'),
|
||||
path('StopContainerAPP', views.StopContainerAPP, name='StopContainerAPP'),
|
||||
path('executeContainerCommand', views.executeContainerCommand, name='executeContainerCommand'),
|
||||
|
||||
# Docker Container Actions
|
||||
path('startContainer', startContainer, name='startContainer'),
|
||||
|
||||
@@ -537,6 +537,24 @@ def StopContainerAPP(request):
|
||||
cm = ContainerManager()
|
||||
coreResult = cm.StopContainerAPP(userID, json.loads(request.body))
|
||||
|
||||
return coreResult
|
||||
except KeyError:
|
||||
return redirect(loadLoginPage)
|
||||
|
||||
@preDockerRun
|
||||
def executeContainerCommand(request):
|
||||
try:
|
||||
userID = request.session['userID']
|
||||
currentACL = ACLManager.loadedACL(userID)
|
||||
|
||||
if currentACL['admin'] == 1:
|
||||
pass
|
||||
else:
|
||||
return ACLManager.loadErrorJson()
|
||||
|
||||
cm = ContainerManager()
|
||||
coreResult = cm.executeContainerCommand(userID, json.loads(request.body))
|
||||
|
||||
return coreResult
|
||||
except KeyError:
|
||||
return redirect(loadLoginPage)
|
||||
@@ -732,9 +732,9 @@
|
||||
|
||||
<div ng-hide="rewriteRulesFetched" class="alert alert-success" style="background: var(--bg-secondary, #f8f9ff); color: var(--text-primary, #333); border-color: var(--border-color, #ddd);">
|
||||
<p>{% trans "Current rewrite rules in the file fetched." %} <a target="_blank"
|
||||
href="http://go.cyberpanel.net/cyber9bed2">Click</a>
|
||||
href="https://cyberpanel.net/KnowledgeBase/home/rewrite-rules/">Click</a>
|
||||
to read more about whats changed in <a target="_blank"
|
||||
href="http://go.cyberpanel.net/rewrite">rewrite
|
||||
href="https://cyberpanel.net/KnowledgeBase/home/rewrite-rules/">rewrite
|
||||
rules</a> from v1.7 onwards.</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -404,7 +404,7 @@
|
||||
<i class="fas fa-shield-alt"></i>
|
||||
</div>
|
||||
{% trans "SpamAssassin" %}
|
||||
<a href="http://go.cyberpanel.net/SpamAssassin" target="_blank" class="docs-link">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/spamassassin-configurations/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Documentation" %}
|
||||
</a>
|
||||
|
||||
@@ -422,7 +422,7 @@
|
||||
<span class="domain-badge" id="domainNamePage">{{ domain }}</span>
|
||||
</h1>
|
||||
<p class="page-subtitle">{% trans "View and manage email sending limits for your domain" %}</p>
|
||||
<a target="_blank" href="http://go.cyberpanel.net/emailLimits" class="docs-link">
|
||||
<a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/email-limits/" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Email Limits Documentation" %}
|
||||
</a>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<div ng-controller="emailPage" class="container">
|
||||
|
||||
<div id="page-title">
|
||||
<h2 ><span id="emailAddress">{{ emailAddress }}</span> - <a target="_blank" href="http://go.cyberpanel.net/emailLimits" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "Emai Limits Docs" %}</span></a></h2>
|
||||
<h2 ><span id="emailAddress">{{ emailAddress }}</span> - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/email-limits/" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "Emai Limits Docs" %}</span></a></h2>
|
||||
<p>{% trans "View and change limits for an Email Address." %}</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<div class="container">
|
||||
|
||||
<div id="page-title">
|
||||
<h2 id="domainNamePage">{% trans "List Domains" %} - <a target="_blank" href="http://go.cyberpanel.net/emailLimits" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "Email Limits Docs" %}</span></a></h2>
|
||||
<h2 id="domainNamePage">{% trans "List Domains" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/email-limits/" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "Email Limits Docs" %}</span></a></h2>
|
||||
<p>{% trans "On this page you manage emails limits for Domains/Email Addresses" %}</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -442,7 +442,7 @@
|
||||
<i class="fas fa-inbox"></i>
|
||||
</div>
|
||||
{% trans "Mail Queue" %}
|
||||
<a href="https://go.cyberpanel.net/mailQueue" target="_blank" class="docs-link">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/email-queue-management-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Documentation" %}
|
||||
</a>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Email Policy Server Configurations!" %} - <a target="_blank" href="http://go.cyberpanel.net/emailLimits" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "Email Limits Docs" %}</span></a> </h2>
|
||||
<h2>{% trans "Email Policy Server Configurations!" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/email-limits/" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "Email Limits Docs" %}</span></a> </h2>
|
||||
<p>{% trans "Turn ON Email Policy Server to use Email Limits Feature. " %}</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -183,7 +183,7 @@
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div id="uploadBoxLabel" class="modal-header">
|
||||
<h5 class="modal-title" >{% trans "Upload File" %} - <a target="_blank" href="https://go.cyberpanel.net/upload-limits" title="">{% trans "Upload Limits" %}</a></h5>
|
||||
<h5 class="modal-title" >{% trans "Upload File" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/website-file-manager/" title="">{% trans "Upload Limits" %}</a></h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
|
||||
@@ -561,7 +561,7 @@
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div id="uploadBoxLabel" class="modal-header">
|
||||
<h5 class="modal-title">{% trans "Upload File" %} - <a target="_blank" href="https://go.cyberpanel.net/upload-limits" title="">{% trans "Upload Limits" %}</a></h5>
|
||||
<h5 class="modal-title">{% trans "Upload File" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/website-file-manager/" title="">{% trans "Upload Limits" %}</a></h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
|
||||
@@ -327,7 +327,7 @@
|
||||
<i class="fas fa-shield-alt"></i>
|
||||
</div>
|
||||
{% trans "Imunify 360" %}
|
||||
<a href="https://go.cyberpanel.net/imunify" target="_blank" class="docs-link">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/install-and-use-imunify-on-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Documentation" %}
|
||||
</a>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "ImunifyAV" %} - <a target="_blank"
|
||||
href="https://go.cyberpanel.net/imunify"
|
||||
href="https://cyberpanel.net/KnowledgeBase/home/install-and-use-imunify-on-cyberpanel/"
|
||||
style="height: 23px;line-height: 21px;"
|
||||
class="btn btn-border btn-alt border-red btn-link font-red"
|
||||
title=""><span>{% trans "Imunify Docs" %}</span></a></h2>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Not available" %} - <a target="_blank"
|
||||
href="https://go.cyberpanel.net/imunify"
|
||||
href="https://cyberpanel.net/KnowledgeBase/home/install-and-use-imunify-on-cyberpanel/"
|
||||
style="height: 23px;line-height: 21px;"
|
||||
class="btn btn-border btn-alt border-red btn-link font-red"
|
||||
title=""><span>{% trans "Imunify Docs" %}</span></a></h2>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Not available" %} - <a target="_blank"
|
||||
href="https://go.cyberpanel.net/imunify"
|
||||
href="https://cyberpanel.net/KnowledgeBase/home/install-and-use-imunify-on-cyberpanel/"
|
||||
style="height: 23px;line-height: 21px;"
|
||||
class="btn btn-border btn-alt border-red btn-link font-red"
|
||||
title=""><span>{% trans "ImunifyAV Docs" %}</span></a></h2>
|
||||
|
||||
@@ -541,7 +541,7 @@
|
||||
<p class="page-subtitle">
|
||||
{% trans "Secure and harden your SSH configurations to protect your server from unauthorized access." %}
|
||||
</p>
|
||||
<a href="http://go.cyberpanel.net/ssh-docs" target="_blank" class="docs-link">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/ssh-manager-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "SSH Documentation" %}
|
||||
</a>
|
||||
|
||||
146
guides/Docker_Command_Execution_Guide.md
Normal file
146
guides/Docker_Command_Execution_Guide.md
Normal file
@@ -0,0 +1,146 @@
|
||||
# Docker Command Execution Feature for CyberPanel
|
||||
|
||||
## Overview
|
||||
This feature adds the ability to execute commands inside running Docker containers directly from the CyberPanel web interface. This is particularly useful for applications like Honeygain that require specific command-line arguments to function properly.
|
||||
|
||||
## Features Added
|
||||
|
||||
### 1. Backend Components
|
||||
- **New View Function**: `executeContainerCommand` in `dockerManager/views.py`
|
||||
- **New Container Method**: `executeContainerCommand` in `dockerManager/container.py`
|
||||
- **New URL Pattern**: `/docker/executeContainerCommand` in `dockerManager/urls.py`
|
||||
|
||||
### 2. Frontend Components
|
||||
- **New Action Button**: "Run Command" button in Container Actions section
|
||||
- **Command Execution Modal**: Interactive modal for executing commands
|
||||
- **Command History**: Tracks last 10 executed commands
|
||||
- **Real-time Output**: Displays command output with proper formatting
|
||||
|
||||
### 3. Security Features
|
||||
- **Permission Checks**: Only admin users can execute commands
|
||||
- **Container Ownership**: Users can only execute commands on containers they own
|
||||
- **Input Validation**: Commands are properly sanitized using `shlex.split()`
|
||||
- **Error Handling**: Comprehensive error handling for various failure scenarios
|
||||
|
||||
## How to Use
|
||||
|
||||
### 1. Access the Feature
|
||||
1. Navigate to your Docker container in CyberPanel
|
||||
2. Ensure the container is running (the "Run Command" button is disabled for stopped containers)
|
||||
3. Click the "Run Command" button in the Container Actions section
|
||||
|
||||
### 2. Execute Commands
|
||||
1. Enter your command in the input field (e.g., `-tou-accept`, `ls -la`, `ps aux`)
|
||||
2. Press Enter or click the "Execute" button
|
||||
3. View the output in the terminal-style output area
|
||||
4. Use command history to quickly re-run previous commands
|
||||
|
||||
### 3. Common Use Cases
|
||||
**For applications requiring command-line arguments:**
|
||||
1. Start your container
|
||||
2. Click "Run Command"
|
||||
3. Enter the required command (e.g., `-tou-accept`, `--help`, `--version`)
|
||||
4. Click "Execute"
|
||||
5. View the output to confirm successful execution
|
||||
|
||||
**For debugging and maintenance:**
|
||||
- `ls -la` - List files and directories
|
||||
- `ps aux` - Show running processes
|
||||
- `whoami` - Display current user
|
||||
- `env` - Show environment variables
|
||||
- `df -h` - Display disk usage
|
||||
|
||||
## Technical Details
|
||||
|
||||
### Command Execution Process
|
||||
1. **Validation**: Check if container exists and user has permissions
|
||||
2. **Status Check**: Ensure container is running
|
||||
3. **Command Parsing**: Use `shlex.split()` to properly parse command arguments
|
||||
4. **Execution**: Use Docker's `exec_run()` method to execute command
|
||||
5. **Response**: Return output, exit code, and any errors
|
||||
|
||||
### Error Handling
|
||||
- Container not found
|
||||
- Container not running
|
||||
- Permission denied
|
||||
- Command execution failures
|
||||
- Network connectivity issues
|
||||
|
||||
### Security Considerations
|
||||
- Commands are executed with the same user as the container's default user
|
||||
- No privileged execution (unless container is privileged)
|
||||
- Input is sanitized to prevent injection attacks
|
||||
- Only admin users can execute commands
|
||||
|
||||
## Files Modified
|
||||
|
||||
### Backend Files
|
||||
- `dockerManager/container.py` - Added `executeContainerCommand` method
|
||||
- `dockerManager/views.py` - Added `executeContainerCommand` view function
|
||||
- `dockerManager/urls.py` - Added URL pattern for command execution
|
||||
|
||||
### Frontend Files
|
||||
- `dockerManager/templates/dockerManager/viewContainer.html` - Added UI components
|
||||
- `dockerManager/static/dockerManager/dockerManager.js` - Added JavaScript functionality
|
||||
|
||||
## API Endpoint
|
||||
|
||||
**POST** `/docker/executeContainerCommand`
|
||||
|
||||
**Request Body:**
|
||||
```json
|
||||
{
|
||||
"name": "container_name",
|
||||
"command": "command_to_execute"
|
||||
}
|
||||
```
|
||||
|
||||
**Response:**
|
||||
```json
|
||||
{
|
||||
"commandStatus": 1,
|
||||
"error_message": "None",
|
||||
"output": "command_output",
|
||||
"exit_code": 0,
|
||||
"command": "executed_command"
|
||||
}
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Common Issues
|
||||
1. **"Container must be running"** - Start the container first
|
||||
2. **"Permission denied"** - Ensure you have admin access
|
||||
3. **"Command not found"** - Check if the command exists in the container
|
||||
4. **Empty output** - Some commands may not produce visible output
|
||||
|
||||
### Debugging
|
||||
- Check container logs for additional information
|
||||
- Verify the container's base image supports the command
|
||||
- Ensure proper command syntax for the container's shell
|
||||
|
||||
## Future Enhancements
|
||||
- Interactive terminal mode
|
||||
- Command templates for common tasks
|
||||
- Output filtering and search
|
||||
- Command scheduling
|
||||
- Multi-container command execution
|
||||
|
||||
## Security Notes
|
||||
- This feature should only be used by trusted administrators
|
||||
- Commands are executed with the container's user permissions
|
||||
- Consider implementing additional logging for audit purposes
|
||||
- Monitor command execution for security compliance
|
||||
|
||||
## Testing with Various Applications
|
||||
1. Pull any Docker image (e.g., `ubuntu:latest`, `alpine:latest`, `nginx:latest`)
|
||||
2. Create a container with the image
|
||||
3. Start the container
|
||||
4. Use the "Run Command" feature to execute various commands:
|
||||
- `ls -la` - List files
|
||||
- `ps aux` - Show processes
|
||||
- `whoami` - Check user
|
||||
- `env` - View environment
|
||||
5. Verify commands execute properly and output is displayed correctly
|
||||
|
||||
This feature provides a secure and user-friendly way to execute commands in Docker containers directly from the CyberPanel interface, making it easy to manage applications like Honeygain that require specific command-line arguments.
|
||||
57
guides/INDEX.md
Normal file
57
guides/INDEX.md
Normal file
@@ -0,0 +1,57 @@
|
||||
# 📚 CyberPanel Guides & Documentation
|
||||
|
||||
Welcome to the CyberPanel documentation hub! This folder contains all guides, tutorials, and documentation for CyberPanel features and integrations.
|
||||
|
||||
## 📋 Available Guides
|
||||
|
||||
### 🐳 Docker Management
|
||||
- **[Docker Command Execution Guide](Docker_Command_Execution_Guide.md)** - Learn how to execute commands inside Docker containers directly from the CyberPanel interface
|
||||
- **[Docker Testing Guide](Test_Honeygain_Integration.md)** - Comprehensive testing guide for Docker command execution with various applications
|
||||
|
||||
### 🤖 AI & Security
|
||||
- **[AI Scanner Documentation](AIScannerDocs.md)** - Complete guide for CyberPanel's AI-powered security scanner
|
||||
|
||||
### 📧 Email & Marketing
|
||||
- **[Mautic Installation Guide](MAUTIC_INSTALLATION_GUIDE.md)** - Step-by-step guide for installing and configuring Mautic email marketing platform
|
||||
|
||||
### 📖 General Documentation
|
||||
- **[README](../README.md)** - Main CyberPanel documentation with installation instructions and feature overview
|
||||
- **[Contributing Guide](CONTRIBUTING.md)** - Guidelines for contributing to the CyberPanel project
|
||||
|
||||
## 🚀 Quick Start
|
||||
|
||||
1. **New to CyberPanel?** Start with the [README](../README.md) for installation and basic setup
|
||||
2. **Need Docker help?** Check the [Docker Command Execution Guide](Docker_Command_Execution_Guide.md)
|
||||
3. **Setting up email marketing?** Follow the [Mautic Installation Guide](MAUTIC_INSTALLATION_GUIDE.md)
|
||||
4. **Want to contribute?** Read the [Contributing Guide](CONTRIBUTING.md)
|
||||
|
||||
## 🔍 Finding What You Need
|
||||
|
||||
- **Installation & Setup**: [README](../README.md)
|
||||
- **Docker Features**: [Docker Command Execution Guide](Docker_Command_Execution_Guide.md)
|
||||
- **Security Features**: [AI Scanner Documentation](AIScannerDocs.md)
|
||||
- **Email Marketing**: [Mautic Installation Guide](MAUTIC_INSTALLATION_GUIDE.md)
|
||||
- **Development**: [Contributing Guide](CONTRIBUTING.md)
|
||||
|
||||
## 📝 Guide Categories
|
||||
|
||||
### 🛠️ **Core Features**
|
||||
- Docker container management
|
||||
- Command execution
|
||||
- Security scanning
|
||||
|
||||
### 🔧 **Integrations**
|
||||
- Mautic email marketing
|
||||
- Third-party applications
|
||||
- Custom configurations
|
||||
|
||||
### 📖 **Documentation**
|
||||
- Installation guides
|
||||
- Configuration tutorials
|
||||
- Troubleshooting tips
|
||||
|
||||
---
|
||||
|
||||
*Last updated: September 2025*
|
||||
|
||||
*For the latest updates and community support, visit [community.cyberpanel.net](https://community.cyberpanel.net)*
|
||||
@@ -21,6 +21,11 @@ elif echo $OUTPUT | grep -q "AlmaLinux 9" ; then
|
||||
SERVER_OS="CentOS8"
|
||||
yum install curl wget -y 1> /dev/null
|
||||
yum update curl wget ca-certificates -y 1> /dev/null
|
||||
elif echo $OUTPUT | grep -q "AlmaLinux 10" ; then
|
||||
echo -e "\nDetecting AlmaLinux 10...\n"
|
||||
SERVER_OS="CentOS8"
|
||||
yum install curl wget -y 1> /dev/null
|
||||
yum update curl wget ca-certificates -y 1> /dev/null
|
||||
elif echo $OUTPUT | grep -q "CloudLinux 7" ; then
|
||||
echo "Checking and installing curl and wget"
|
||||
yum install curl wget -y 1> /dev/null
|
||||
@@ -53,7 +58,7 @@ yum update curl wget ca-certificates -y 1> /dev/null
|
||||
else
|
||||
|
||||
echo -e "\nUnable to detect your OS...\n"
|
||||
echo -e "\nCyberPanel is supported on Ubuntu 18.04, Ubuntu 20.04 Ubuntu 22.04, AlmaLinux 8, AlmaLinux 9 and CloudLinux 7.x...\n"
|
||||
echo -e "\nCyberPanel is supported on Ubuntu 18.04, Ubuntu 20.04 Ubuntu 22.04, AlmaLinux 8, AlmaLinux 9, AlmaLinux 10 and CloudLinux 7.x...\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@@ -2226,6 +2226,18 @@ milter_default_action = accept
|
||||
|
||||
def setupPHPSymlink(self):
|
||||
try:
|
||||
# Check if PHP 8.2 exists
|
||||
if not os.path.exists('/usr/local/lsws/lsphp82/bin/php'):
|
||||
logging.InstallLog.writeToFile("[setupPHPSymlink] PHP 8.2 not found, ensuring it's installed...")
|
||||
|
||||
# Install PHP 8.2 based on OS
|
||||
if self.distro == centos or self.distro == cent8 or self.distro == openeuler:
|
||||
command = 'yum install lsphp82 lsphp82-* -y'
|
||||
else:
|
||||
command = 'DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install lsphp82 lsphp82-*'
|
||||
|
||||
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
|
||||
|
||||
# Check if PHP 8.3 exists
|
||||
if not os.path.exists('/usr/local/lsws/lsphp83/bin/php'):
|
||||
logging.InstallLog.writeToFile("[setupPHPSymlink] PHP 8.3 not found, ensuring it's installed...")
|
||||
@@ -2242,12 +2254,34 @@ milter_default_action = accept
|
||||
if not os.path.exists('/usr/local/lsws/lsphp83/bin/php'):
|
||||
logging.InstallLog.writeToFile('[ERROR] Failed to install PHP 8.3')
|
||||
return 0
|
||||
|
||||
# Install PHP 8.4
|
||||
if not os.path.exists('/usr/local/lsws/lsphp84/bin/php'):
|
||||
logging.InstallLog.writeToFile("[setupPHPSymlink] PHP 8.4 not found, ensuring it's installed...")
|
||||
|
||||
if self.distro == centos or self.distro == cent8 or self.distro == openeuler:
|
||||
command = 'yum install lsphp84 lsphp84-* -y'
|
||||
else:
|
||||
command = 'DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install lsphp84 lsphp84-*'
|
||||
|
||||
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
|
||||
|
||||
# Install PHP 8.5
|
||||
if not os.path.exists('/usr/local/lsws/lsphp85/bin/php'):
|
||||
logging.InstallLog.writeToFile("[setupPHPSymlink] PHP 8.5 not found, ensuring it's installed...")
|
||||
|
||||
if self.distro == centos or self.distro == cent8 or self.distro == openeuler:
|
||||
command = 'yum install lsphp85 lsphp85-* -y'
|
||||
else:
|
||||
command = 'DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install lsphp85 lsphp85-*'
|
||||
|
||||
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
|
||||
|
||||
# Remove existing PHP symlink if it exists
|
||||
if os.path.exists('/usr/bin/php'):
|
||||
os.remove('/usr/bin/php')
|
||||
|
||||
# Create symlink to PHP 8.3
|
||||
# Create symlink to PHP 8.3 (default)
|
||||
command = 'ln -s /usr/local/lsws/lsphp83/bin/php /usr/bin/php'
|
||||
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
|
||||
|
||||
|
||||
@@ -34,6 +34,8 @@ def FetchCloudLinuxAlmaVersionVersion():
|
||||
return 'al-87'
|
||||
elif (data.find('AlmaLinux') > -1 or data.find('almalinux') > -1) and (data.find('9.4') > -1 or data.find('9.3') > -1 or data.find('Shamrock Pampas') > -1 or data.find('Seafoam Ocelot') > -1 or data.find('VERSION="9.') > -1):
|
||||
return 'al-93'
|
||||
elif (data.find('AlmaLinux') > -1 or data.find('almalinux') > -1) and (data.find('10.0') > -1 or data.find('Purple Lion') > -1 or data.find('VERSION="10.') > -1):
|
||||
return 'al-100'
|
||||
else:
|
||||
return -1
|
||||
|
||||
@@ -204,8 +206,8 @@ def get_distro():
|
||||
|
||||
if data.find('CentOS Linux release 8') > -1:
|
||||
return cent8
|
||||
## if almalinux 9 then pretty much same as cent8
|
||||
if data.find('AlmaLinux release 8') > -1 or data.find('AlmaLinux release 9') > -1:
|
||||
## if almalinux 9 or 10 then pretty much same as cent8
|
||||
if data.find('AlmaLinux release 8') > -1 or data.find('AlmaLinux release 9') > -1 or data.find('AlmaLinux release 10') > -1:
|
||||
return cent8
|
||||
if data.find('Rocky Linux release 8') > -1 or data.find('Rocky Linux 8') > -1 or data.find('rocky:8') > -1:
|
||||
return cent8
|
||||
|
||||
@@ -434,6 +434,66 @@
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp83</name>
|
||||
<address>uds://tmp/lshttpd/lsphp83.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp83/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp84</name>
|
||||
<address>uds://tmp/lshttpd/lsphp84.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp84/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp85</name>
|
||||
<address>uds://tmp/lshttpd/lsphp85.sock</address>
|
||||
<maxConns>35</maxConns>
|
||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||
<initTimeout>60</initTimeout>
|
||||
<retryTimeout>0</retryTimeout>
|
||||
<persistConn>1</persistConn>
|
||||
<respBuffer>0</respBuffer>
|
||||
<autoStart>3</autoStart>
|
||||
<path>$SERVER_ROOT/lsphp85/bin/lsphp</path>
|
||||
<backlog>100</backlog>
|
||||
<instances>1</instances>
|
||||
<priority>0</priority>
|
||||
<memSoftLimit>2047M</memSoftLimit>
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
</extProcessorList>
|
||||
<scriptHandlerList>
|
||||
<scriptHandler>
|
||||
@@ -506,6 +566,21 @@
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp82</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php83</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp83</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php84</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp84</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php85</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp85</handler>
|
||||
</scriptHandler>
|
||||
</scriptHandlerList>
|
||||
<phpConfig>
|
||||
</phpConfig>
|
||||
|
||||
@@ -1023,7 +1023,7 @@ echo "$ADMIN_PASS" > /etc/cyberpanel/adminPass
|
||||
/usr/local/CyberPanel/bin/python2 /usr/local/CyberCP/plogical/adminPass.py --password $ADMIN_PASS
|
||||
systemctl restart lscpd
|
||||
systemctl restart lsws
|
||||
echo "/usr/local/CyberPanel/bin/python2 /usr/local/CyberCP/plogical/adminPass.py --password \$@" > /usr/bin/adminPass
|
||||
echo "/usr/local/CyberPanel/bin/python2 /usr/local/CyberCP/plogical/adminPass.py --password \"\$@\"" > /usr/bin/adminPass
|
||||
echo "systemctl restart lscpd" >> /usr/bin/adminPass
|
||||
chmod +x /usr/bin/adminPass
|
||||
if [[ $VERSION = "OLS" ]] ; then
|
||||
@@ -1080,7 +1080,7 @@ echo -e " \e[31m/etc/cyberpanel/mysqlPassword\e[39m with new password as
|
||||
echo " "
|
||||
echo " Website : https://www.cyberpanel.net "
|
||||
echo " Forums : https://forums.cyberpanel.net "
|
||||
echo " Wikipage: https://docs.cyberpanel.net "
|
||||
echo " Wikipage: https://cyberpanel.net/KnowledgeBase/ "
|
||||
echo " "
|
||||
echo -e " Enjoy your accelerated Internet by "
|
||||
echo -e " CyberPanel & $WORD "
|
||||
|
||||
@@ -1012,7 +1012,7 @@ echo "$ADMIN_PASS" > /etc/cyberpanel/adminPass
|
||||
/usr/local/CyberPanel/bin/python2 /usr/local/CyberCP/plogical/adminPass.py --password $ADMIN_PASS
|
||||
systemctl restart lscpd
|
||||
systemctl restart lsws
|
||||
echo "/usr/local/CyberPanel/bin/python2 /usr/local/CyberCP/plogical/adminPass.py --password \$@" > /usr/bin/adminPass
|
||||
echo "/usr/local/CyberPanel/bin/python2 /usr/local/CyberCP/plogical/adminPass.py --password \"\$@\"" > /usr/bin/adminPass
|
||||
echo "systemctl restart lscpd" >> /usr/bin/adminPass
|
||||
chmod +x /usr/bin/adminPass
|
||||
if [[ $VERSION = "OLS" ]] ; then
|
||||
@@ -1069,7 +1069,7 @@ echo -e " \e[31m/etc/cyberpanel/mysqlPassword\e[39m with new password as
|
||||
echo " "
|
||||
echo " Website : https://www.cyberpanel.net "
|
||||
echo " Forums : https://forums.cyberpanel.net "
|
||||
echo " Wikipage: https://docs.cyberpanel.net "
|
||||
echo " Wikipage: https://cyberpanel.net/KnowledgeBase/ "
|
||||
echo " "
|
||||
echo -e " Enjoy your accelerated Internet by "
|
||||
echo -e " CyberPanel & $WORD "
|
||||
|
||||
BIN
locale/nb/LC_MESSAGES/django.mo
Normal file
BIN
locale/nb/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
292
locale/nb/LC_MESSAGES/django.po
Normal file
292
locale/nb/LC_MESSAGES/django.po
Normal file
@@ -0,0 +1,292 @@
|
||||
# CyberPanel Translation File.
|
||||
# Copyright (C) 2025 LiteSpeedTech
|
||||
# This file is distributed under the same license as the CyberPanel package.
|
||||
# FIRST AUTHOR <kimskorgenes@hotmail.com>, 2025.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: CyberPanel\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-11-21 19:54+0500\n"
|
||||
"PO-Revision-Date: 2025-09-08 16:47+0200\n"
|
||||
"Last-Translator: Kim Birkeland Skorgenes <kimskorgenes@hotmail.com>\n"
|
||||
"Language-Team: Norwegian Bokmål Translation Team\n"
|
||||
"Language: nb\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 3.7\n"
|
||||
|
||||
#: CLManager/templates/CLManager/createPackage.html:3
|
||||
msgid "Create Cloud Linux Package - CyberPanel"
|
||||
msgstr "Opprett Cloud Linux Pakke - CyberPanel"
|
||||
|
||||
#: CLManager/templates/CLManager/createPackage.html:9
|
||||
msgid "Create CloudLinux Package."
|
||||
msgstr "Opprett CloudLinux Pakke."
|
||||
|
||||
#: CLManager/templates/CLManager/createPackage.html:10
|
||||
msgid ""
|
||||
"Each CloudLinux package have one associated (owner) CyberPanel package. During website "
|
||||
"creation associated CloudLinux package will be assigned to website user."
|
||||
msgstr ""
|
||||
"Hver CloudLinux pakke har en tilknyttet (eier) CyberPanel pakke. Under opprettelse av "
|
||||
"nettside vil den tilknyttede CloudLinux pakken bli tildelt nettsidebrukeren."
|
||||
|
||||
#: CLManager/templates/CLManager/createPackage.html:15
|
||||
#: CLManager/templates/CLManager/createPackage.html:130
|
||||
#: baseTemplate/templates/baseTemplate/index.html:435
|
||||
#: baseTemplate/templates/baseTemplate/index.html:666
|
||||
#: packages/templates/packages/createPackage.html:13
|
||||
#: packages/templates/packages/createPackage.html:100
|
||||
#: packages/templates/packages/index.html:25 packages/templates/packages/index.html:28
|
||||
#: userManagment/templates/userManagment/createACL.html:152
|
||||
#: userManagment/templates/userManagment/modifyACL.html:156
|
||||
msgid "Create Package"
|
||||
msgstr "Opprett Pakke"
|
||||
|
||||
#: CLManager/templates/CLManager/createPackage.html:24
|
||||
#: packages/templates/packages/deletePackage.html:26
|
||||
#: packages/templates/packages/modifyPackage.html:24
|
||||
#: websiteFunctions/templates/websiteFunctions/createWebsite.html:29
|
||||
#: websiteFunctions/templates/websiteFunctions/modifyWebsite.html:45
|
||||
msgid "Select Package"
|
||||
msgstr "Velg Pakke"
|
||||
|
||||
#: CLManager/templates/CLManager/createPackage.html:40
|
||||
#: packages/templates/packages/createPackage.html:27
|
||||
msgid "Package Name"
|
||||
msgstr "Pakkenavn"
|
||||
|
||||
#: CLManager/templates/CLManager/createPackage.html:47
|
||||
#: CLManager/templates/CLManager/listPackages.html:87
|
||||
msgid "SPEED"
|
||||
msgstr "HASTIGHET"
|
||||
|
||||
#: CLManager/templates/CLManager/createPackage.html:56
|
||||
#: CLManager/templates/CLManager/listPackages.html:98
|
||||
msgid "VMEM"
|
||||
msgstr "VMEM"
|
||||
|
||||
#: CLManager/templates/CLManager/createPackage.html:64
|
||||
#: CLManager/templates/CLManager/listPackages.html:109
|
||||
msgid "PMEM"
|
||||
msgstr "PMEM"
|
||||
|
||||
#: CLManager/templates/CLManager/createPackage.html:73
|
||||
#: CLManager/templates/CLManager/listPackages.html:120
|
||||
msgid "IO"
|
||||
msgstr "IO"
|
||||
|
||||
#: CLManager/templates/CLManager/createPackage.html:81
|
||||
#: CLManager/templates/CLManager/listPackages.html:131
|
||||
#: containerization/templates/containerization/websiteContainerLimit.html:52
|
||||
#: containerization/templates/containerization/websiteContainerLimit.html:99
|
||||
msgid "IOPS"
|
||||
msgstr "IOPS"
|
||||
|
||||
#: CLManager/templates/CLManager/createPackage.html:89
|
||||
#: CLManager/templates/CLManager/listPackages.html:142
|
||||
msgid "EP"
|
||||
msgstr "EP"
|
||||
|
||||
#: CLManager/templates/CLManager/createPackage.html:97
|
||||
#: CLManager/templates/CLManager/listPackages.html:153
|
||||
msgid "NPROC"
|
||||
msgstr "NPROC"
|
||||
|
||||
#: CLManager/templates/CLManager/createPackage.html:105
|
||||
#: CLManager/templates/CLManager/listPackages.html:164
|
||||
msgid "INODES soft"
|
||||
msgstr "INODES soft"
|
||||
|
||||
#: CLManager/templates/CLManager/createPackage.html:113
|
||||
#: CLManager/templates/CLManager/listPackages.html:175
|
||||
msgid "INODES hard"
|
||||
msgstr "INODES hard"
|
||||
|
||||
#: CLManager/templates/CLManager/listPackages.html:3
|
||||
msgid "Manage CloudLinux Packages - CyberPanel"
|
||||
msgstr "Administrer CloudLinux Pakker - CyberPanel"
|
||||
|
||||
#: CLManager/templates/CLManager/listPackages.html:14
|
||||
msgid "Manage CloudLinux Packages"
|
||||
msgstr "Administrer CloudLinux Pakker"
|
||||
|
||||
#: CLManager/templates/CLManager/listPackages.html:15
|
||||
msgid "Manage/Delete CloudLinux Packages."
|
||||
msgstr "Administrer/Slett CloudLinux Pakker."
|
||||
|
||||
#: CLManager/templates/CLManager/listPackages.html:76
|
||||
#: dns/templates/dns/addDeleteDNSRecords.html:74
|
||||
#: dns/templates/dns/addDeleteDNSRecords.html:97
|
||||
#: dns/templates/dns/addDeleteDNSRecords.html:121
|
||||
#: dns/templates/dns/addDeleteDNSRecords.html:144
|
||||
#: dns/templates/dns/addDeleteDNSRecords.html:172
|
||||
#: dns/templates/dns/addDeleteDNSRecords.html:196
|
||||
#: dns/templates/dns/addDeleteDNSRecords.html:220
|
||||
#: dns/templates/dns/addDeleteDNSRecords.html:244
|
||||
#: dns/templates/dns/addDeleteDNSRecords.html:268
|
||||
#: dns/templates/dns/addDeleteDNSRecords.html:295
|
||||
#: dns/templates/dns/addDeleteDNSRecords.html:328
|
||||
#: dockerManager/templates/dockerManager/runContainer.html:29
|
||||
#: filemanager/templates/filemanager/index.html:203
|
||||
#: firewall/templates/firewall/firewall.html:120
|
||||
#: packages/templates/packages/listPackages.html:84
|
||||
#: pluginHolder/templates/pluginHolder/plugins.html:28
|
||||
#: serverStatus/templates/serverStatus/litespeedStatus.html:38
|
||||
#: serverStatus/templates/serverStatus/litespeedStatus.html:262
|
||||
#: userManagment/templates/userManagment/listUsers.html:75
|
||||
msgid "Name"
|
||||
msgstr "Navn"
|
||||
|
||||
#: CLManager/templates/CLManager/listPackages.html:205
|
||||
#: CLManager/templates/CLManager/listWebsites.html:86
|
||||
#: CLManager/templates/CLManager/monitorUsage.html:57
|
||||
#: containerization/templates/containerization/listWebsites.html:57
|
||||
#: emailPremium/templates/emailPremium/emailLimits.html:172
|
||||
#: emailPremium/templates/emailPremium/emailPage.html:179
|
||||
#: emailPremium/templates/emailPremium/listDomains.html:75
|
||||
#: pluginHolder/templates/pluginHolder/plugins.html:51
|
||||
#: websiteFunctions/templates/websiteFunctions/listWebsites.html:133
|
||||
msgid "Cannot list websites. Error message:"
|
||||
msgstr "Kan ikke liste opp nettsider. Feilmelding:"
|
||||
|
||||
#: CLManager/templates/CLManager/listWebsites.html:3
|
||||
msgid "CageFS - CyberPanel"
|
||||
msgstr "CageFS - CyberPanel"
|
||||
|
||||
#: CLManager/templates/CLManager/listWebsites.html:14
|
||||
#: CLManager/templates/CLManager/monitorUsage.html:14
|
||||
#: baseTemplate/templates/baseTemplate/index.html:411
|
||||
#: containerization/templates/containerization/listWebsites.html:14
|
||||
#: websiteFunctions/templates/websiteFunctions/index.html:31
|
||||
#: websiteFunctions/templates/websiteFunctions/index.html:55
|
||||
#: websiteFunctions/templates/websiteFunctions/listWebsites.html:19
|
||||
msgid "List Websites"
|
||||
msgstr "Liste Opp Nettsider"
|
||||
|
||||
#: CLManager/templates/CLManager/listWebsites.html:15
|
||||
msgid "Enable/Disable and view CageFS status for websites."
|
||||
msgstr "Aktiver/Deaktiver og vis CageFS status for nettsider."
|
||||
|
||||
#: CLManager/templates/CLManager/listWebsites.html:28
|
||||
msgid "Default: "
|
||||
msgstr "Standard: "
|
||||
|
||||
#: CLManager/templates/CLManager/monitorUsage.html:3
|
||||
msgid "Monitor Usage - CyberPanel"
|
||||
msgstr "Overvåk Bruk - CyberPanel"
|
||||
|
||||
#: CLManager/templates/CLManager/monitorUsage.html:15
|
||||
msgid "Monitor usage of your websites."
|
||||
msgstr "Overvåk bruken av dine nettsider."
|
||||
|
||||
#: CLManager/templates/CLManager/monitorUsage.html:21
|
||||
#: baseTemplate/templates/baseTemplate/homePage.html:42
|
||||
#: baseTemplate/templates/baseTemplate/index.html:276
|
||||
#: baseTemplate/templates/baseTemplate/index.html:400
|
||||
#: baseTemplate/templates/baseTemplate/index.html:401
|
||||
#: baseTemplate/templates/baseTemplate/index.html:402
|
||||
#: containerization/templates/containerization/listWebsites.html:21
|
||||
msgid "Websites"
|
||||
msgstr "Nettsider"
|
||||
|
||||
#: CLManager/templates/CLManager/notAvailable.html:3
|
||||
#: containerization/templates/containerization/notAvailable.html:3
|
||||
msgid "Not available - CyberPanel"
|
||||
msgstr "Ikke tilgjengelig - CyberPanel"
|
||||
|
||||
#: CLManager/templates/CLManager/notAvailable.html:13
|
||||
#: containerization/templates/containerization/notAvailable.html:13
|
||||
msgid "Not available"
|
||||
msgstr "Ikke tilgjengelig"
|
||||
|
||||
#: CLManager/templates/CLManager/notAvailable.html:14
|
||||
msgid "Either CageFS is not installed or you are not on CloudLinux OS."
|
||||
msgstr "Enten er CageFS ikke installert eller du bruker ikke CloudLinux OS."
|
||||
|
||||
#: CLManager/templates/CLManager/notAvailable.html:22
|
||||
msgid "CageFS is only available with CloudLinux OS. "
|
||||
msgstr "CageFS er kun tilgjengelig med CloudLinux OS. "
|
||||
|
||||
#: CLManager/templates/CLManager/notAvailable.html:24
|
||||
#: containerization/templates/containerization/notAvailable.html:24
|
||||
msgid " for conversion details."
|
||||
msgstr " for konverteringsdetaljer."
|
||||
|
||||
#: CLManager/templates/CLManager/notAvailable.html:34
|
||||
#: containerization/templates/containerization/notAvailable.html:34
|
||||
msgid "Install Packages"
|
||||
msgstr "Installer Pakker"
|
||||
|
||||
#: CLManager/templates/CLManager/notAvailable.html:39
|
||||
msgid "CageFS is not installed on this server. Please proceed to installation."
|
||||
msgstr "CageFS er ikke installert på denne serveren. Vennligst fortsett med installasjonen."
|
||||
|
||||
#: CLManager/templates/CLManager/websiteContainerLimit.html:3
|
||||
msgid " usage - CyberPanel"
|
||||
msgstr " bruk - CyberPanel"
|
||||
|
||||
#: CLManager/templates/CLManager/websiteContainerLimit.html:14
|
||||
#: emailMarketing/templates/emailMarketing/website.html:40
|
||||
#: websiteFunctions/templates/websiteFunctions/launchChild.html:43
|
||||
#: websiteFunctions/templates/websiteFunctions/website.html:43
|
||||
msgid "Usage"
|
||||
msgstr "Bruk"
|
||||
|
||||
#: CLManager/templates/CLManager/websiteContainerLimit.html:15
|
||||
msgid "View CPU, Memory and Disk usage for "
|
||||
msgstr "Vis CPU, Minne og Disk bruk for "
|
||||
|
||||
#: CLManager/templates/CLManager/websiteContainerLimit.html:21
|
||||
#: containerization/templates/containerization/websiteContainerLimit.html:155
|
||||
msgid "CPU Usage of"
|
||||
msgstr "CPU Bruk av"
|
||||
|
||||
#: CLManager/templates/CLManager/websiteContainerLimit.html:30
|
||||
#: containerization/templates/containerization/websiteContainerLimit.html:164
|
||||
msgid "Memory Usage of"
|
||||
msgstr "Minne Bruk av"
|
||||
|
||||
#: CLManager/templates/CLManager/websiteContainerLimit.html:39
|
||||
#: containerization/templates/containerization/websiteContainerLimit.html:173
|
||||
msgid "Disk Usage of"
|
||||
msgstr "Disk Bruk av"
|
||||
|
||||
#: CyberCP/settings.py:175
|
||||
msgid "English"
|
||||
msgstr "Engelsk"
|
||||
|
||||
#: CyberCP/settings.py:176
|
||||
msgid "Chinese"
|
||||
msgstr "Kinesisk"
|
||||
|
||||
#: CyberCP/settings.py:177
|
||||
msgid "Bulgarian"
|
||||
msgstr "Bulgarsk"
|
||||
|
||||
#: CyberCP/settings.py:178
|
||||
msgid "Portuguese"
|
||||
msgstr "Portugisisk"
|
||||
|
||||
#: CyberCP/settings.py:179
|
||||
msgid "Japanese"
|
||||
msgstr "Japansk"
|
||||
|
||||
#: CyberCP/settings.py:180
|
||||
msgid "Bosnian"
|
||||
msgstr "Bosnisk"
|
||||
|
||||
#: CyberCP/settings.py:181
|
||||
msgid "Greek"
|
||||
msgstr "Gresk"
|
||||
|
||||
#: CyberCP/settings.py:182
|
||||
msgid "Russian"
|
||||
msgstr "Russisk"
|
||||
|
||||
#: CyberCP/settings.py:183
|
||||
msgid "Turkish"
|
||||
msgstr "Tyrkisk"
|
||||
@@ -312,7 +312,7 @@
|
||||
<div class="input-group">
|
||||
<input ng-keypress="initiateLogin($event)" ng-model="password" type="password"
|
||||
class="form-control" id="password" placeholder="Password" required
|
||||
name="password" style="height: 45px;">
|
||||
name="password" style="height: 45px;" autocomplete="current-password">
|
||||
<span class="input-group-addon bg-blue">
|
||||
<i class="glyph-icon icon-unlock-alt"></i>
|
||||
</span>
|
||||
@@ -366,7 +366,7 @@
|
||||
</div>
|
||||
</form>
|
||||
<div id="loginFailed" class="alert alert-danger">
|
||||
<p>Could Not Login, Error message: {$ errorMessage $}</p>
|
||||
<p>Could Not Login, Error message: <span ng-bind="errorMessage"></span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -32,46 +32,61 @@ def verifyLogin(request):
|
||||
|
||||
try:
|
||||
if request.method == "POST":
|
||||
data = json.loads(request.body)
|
||||
try:
|
||||
data = json.loads(request.body)
|
||||
except json.JSONDecodeError as e:
|
||||
print(f"JSON decode error: {e}")
|
||||
print(f"Raw request body: {request.body}")
|
||||
data = {'userID': 0, 'loginStatus': 0, 'error_message': 'Invalid request format'}
|
||||
json_data = json.dumps(data)
|
||||
return HttpResponse(json_data)
|
||||
|
||||
username = data['username']
|
||||
password = data['password']
|
||||
username = data.get('username', '')
|
||||
password = data.get('password', '')
|
||||
|
||||
# Debug logging
|
||||
print(f"Login attempt - Username: {username}, Password length: {len(password) if password else 0}")
|
||||
print(f"Password contains '$': {'$' in password if password else False}")
|
||||
print(f"Raw password: {repr(password)}")
|
||||
|
||||
try:
|
||||
if data['languageSelection'] == "English":
|
||||
language_selection = data.get('languageSelection', 'english')
|
||||
if language_selection == "English":
|
||||
user_Language = "en"
|
||||
elif data['languageSelection'] == "Chinese":
|
||||
elif language_selection == "Chinese":
|
||||
user_Language = "cn"
|
||||
elif data['languageSelection'] == "Bulgarian":
|
||||
elif language_selection == "Bulgarian":
|
||||
user_Language = "br"
|
||||
elif data['languageSelection'] == "Portuguese":
|
||||
elif language_selection == "Portuguese":
|
||||
user_Language = "pt"
|
||||
elif data['languageSelection'] == "Japanese":
|
||||
elif language_selection == "Japanese":
|
||||
user_Language = "ja"
|
||||
elif data['languageSelection'] == "Bosnian":
|
||||
elif language_selection == "Bosnian":
|
||||
user_Language = "bs"
|
||||
elif data['languageSelection'] == "Greek":
|
||||
elif language_selection == "Greek":
|
||||
user_Language = "gr"
|
||||
elif data['languageSelection'] == "Russian":
|
||||
elif language_selection == "Russian":
|
||||
user_Language = "ru"
|
||||
elif data['languageSelection'] == "Turkish":
|
||||
elif language_selection == "Turkish":
|
||||
user_Language = "tr"
|
||||
elif data['languageSelection'] == "Spanish":
|
||||
elif language_selection == "Spanish":
|
||||
user_Language = "es"
|
||||
elif data['languageSelection'] == "French":
|
||||
elif language_selection == "French":
|
||||
user_Language = "fr"
|
||||
elif data['languageSelection'] == "Polish":
|
||||
elif language_selection == "Polish":
|
||||
user_Language = "pl"
|
||||
elif data['languageSelection'] == "Vietnamese":
|
||||
elif language_selection == "Vietnamese":
|
||||
user_Language = "vi"
|
||||
elif data['languageSelection'] == "Italian":
|
||||
elif language_selection == "Italian":
|
||||
user_Language = "it"
|
||||
elif data['languageSelection'] == "German":
|
||||
elif language_selection == "German":
|
||||
user_Language = "de"
|
||||
elif data['languageSelection'] == "Indonesian":
|
||||
elif language_selection == "Indonesian":
|
||||
user_Language = "id"
|
||||
elif data['languageSelection'] == "Bangla":
|
||||
elif language_selection == "Bangla":
|
||||
user_Language = "bn"
|
||||
else:
|
||||
user_Language = 'en'
|
||||
|
||||
translation.activate(user_Language)
|
||||
response = HttpResponse()
|
||||
@@ -83,6 +98,7 @@ def verifyLogin(request):
|
||||
response.set_cookie(settings.LANGUAGE_COOKIE_NAME, user_Language)
|
||||
|
||||
admin = Administrator.objects.get(userName=username)
|
||||
print(f"Found admin user: {admin.userName}, password hash length: {len(admin.password) if admin.password else 0}")
|
||||
|
||||
if admin.state == 'SUSPENDED':
|
||||
data = {'userID': 0, 'loginStatus': 0, 'error_message': 'Account currently suspended.'}
|
||||
@@ -99,7 +115,10 @@ def verifyLogin(request):
|
||||
response.write(json_data)
|
||||
return response
|
||||
|
||||
if hashPassword.check_password(admin.password, password):
|
||||
password_check_result = hashPassword.check_password(admin.password, password)
|
||||
print(f"Password check result: {password_check_result}")
|
||||
|
||||
if password_check_result:
|
||||
if admin.twoFA:
|
||||
if request.session.get('twofa', 1) == 0:
|
||||
import pyotp
|
||||
|
||||
@@ -359,7 +359,7 @@
|
||||
<h1 class="page-title">
|
||||
<i class="fas fa-shield-alt"></i>
|
||||
{% trans "DKIM Manager" %}
|
||||
<a target="_blank" href="http://go.cyberpanel.net/dkim" class="docs-link">
|
||||
<a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/dkim-set-up-and-configurations/" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "DKIM Docs" %}
|
||||
</a>
|
||||
|
||||
@@ -329,7 +329,7 @@
|
||||
<h1 class="page-title">
|
||||
<i class="fas fa-share-square"></i>
|
||||
{% trans "Setup Email Forwarding" %}
|
||||
<a target="_blank" href="http://go.cyberpanel.net/email-forwarding" class="docs-link">
|
||||
<a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/email-forwarding/" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Forwarding Docs" %}
|
||||
</a>
|
||||
|
||||
281
managePHP/php82.xml
Normal file
281
managePHP/php82.xml
Normal file
@@ -0,0 +1,281 @@
|
||||
<?xml version="1.0" ?>
|
||||
<php>
|
||||
<name>php82</name>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-debuginfo</extensionName>
|
||||
<extensionDescription>Debug information for package lsphp82</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pecl-igbinary-debuginfo</extensionName>
|
||||
<extensionDescription>Debug information for package lsphp82-pecl-igbinary</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pecl-mcrypt-debuginfo</extensionName>
|
||||
<extensionDescription>lsphp82 lsphp82-pecl-mcrypt-debuginfo Extension</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-bcmath</extensionName>
|
||||
<extensionDescription>A extension for PHP applications for using the bcmath library.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-common</extensionName>
|
||||
<extensionDescription>Common files for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-dba</extensionName>
|
||||
<extensionDescription>A database abstraction layer extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-devel</extensionName>
|
||||
<extensionDescription>Files needed for building PHP extensions.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-enchant</extensionName>
|
||||
<extensionDescription>Enchant spelling extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-gd</extensionName>
|
||||
<extensionDescription>A dynamic image creation extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-gmp</extensionName>
|
||||
<extensionDescription>A extension for PHP applications for using the GNU Multiple Precision Arithmetic Library.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-imap</extensionName>
|
||||
<extensionDescription>IMAP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-intl</extensionName>
|
||||
<extensionDescription>Internationalization extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-json</extensionName>
|
||||
<extensionDescription>lsphp82 Json PHP Extension</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-ldap</extensionName>
|
||||
<extensionDescription>LDAP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-mbstring</extensionName>
|
||||
<extensionDescription>Multibyte string extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-mysqlnd</extensionName>
|
||||
<extensionDescription>MySQL Native Driver for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-odbc</extensionName>
|
||||
<extensionDescription>ODBC extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-opcache</extensionName>
|
||||
<extensionDescription>OPcache extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pdo</extensionName>
|
||||
<extensionDescription>PHP Data Objects extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pear</extensionName>
|
||||
<extensionDescription>PHP Extension and Application Repository.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pecl-apcu</extensionName>
|
||||
<extensionDescription>APCu - APC User Cache extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pecl-apcu-devel</extensionName>
|
||||
<extensionDescription>Development files for APCu - APC User Cache extension for PHP applications.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pecl-apcu-panel</extensionName>
|
||||
<extensionDescription>APCu - APC User Cache extension for PHP applications.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pecl-igbinary</extensionName>
|
||||
<extensionDescription>Igbinary extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pecl-igbinary-devel</extensionName>
|
||||
<extensionDescription>Development files for Igbinary extension for PHP applications.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pecl-mcrypt</extensionName>
|
||||
<extensionDescription>lsphp82 lsphp82-pecl-mcrypt Extension.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pecl-memcache</extensionName>
|
||||
<extensionDescription>Memcache extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pecl-memcached</extensionName>
|
||||
<extensionDescription>Memcached extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pecl-msgpack</extensionName>
|
||||
<extensionDescription>MessagePack extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pecl-msgpack-devel</extensionName>
|
||||
<extensionDescription>Development files for MessagePack extension for PHP applications.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pecl-redis</extensionName>
|
||||
<extensionDescription>Redis extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pgsql</extensionName>
|
||||
<extensionDescription>PostgreSQL extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-process</extensionName>
|
||||
<extensionDescription>Process control extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pspell</extensionName>
|
||||
<extensionDescription>PSpell extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-recode</extensionName>
|
||||
<extensionDescription>Recode extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-snmp</extensionName>
|
||||
<extensionDescription>SNMP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-soap</extensionName>
|
||||
<extensionDescription>SOAP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-tidy</extensionName>
|
||||
<extensionDescription>Tidy extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-xml</extensionName>
|
||||
<extensionDescription>XML extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-xmlrpc</extensionName>
|
||||
<extensionDescription>XML-RPC extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-zip</extensionName>
|
||||
<extensionDescription>ZIP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-mcrypt</extensionName>
|
||||
<extensionDescription>Mcrypt extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-dbg</extensionName>
|
||||
<extensionDescription>php82-dbg lsphp82-package</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-ioncube</extensionName>
|
||||
<extensionDescription>IonCube Loader extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pecl-imagick</extensionName>
|
||||
<extensionDescription>ImageMagick extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-sodium</extensionName>
|
||||
<extensionDescription>Sodium extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
</php>
|
||||
281
managePHP/php83.xml
Normal file
281
managePHP/php83.xml
Normal file
@@ -0,0 +1,281 @@
|
||||
<?xml version="1.0" ?>
|
||||
<php>
|
||||
<name>php83</name>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-debuginfo</extensionName>
|
||||
<extensionDescription>Debug information for package lsphp83</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pecl-igbinary-debuginfo</extensionName>
|
||||
<extensionDescription>Debug information for package lsphp83-pecl-igbinary</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pecl-mcrypt-debuginfo</extensionName>
|
||||
<extensionDescription>lsphp83 lsphp83-pecl-mcrypt-debuginfo Extension</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-bcmath</extensionName>
|
||||
<extensionDescription>A extension for PHP applications for using the bcmath library.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-common</extensionName>
|
||||
<extensionDescription>Common files for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-dba</extensionName>
|
||||
<extensionDescription>A database abstraction layer extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-devel</extensionName>
|
||||
<extensionDescription>Files needed for building PHP extensions.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-enchant</extensionName>
|
||||
<extensionDescription>Enchant spelling extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-gd</extensionName>
|
||||
<extensionDescription>A dynamic image creation extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-gmp</extensionName>
|
||||
<extensionDescription>A extension for PHP applications for using the GNU Multiple Precision Arithmetic Library.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-imap</extensionName>
|
||||
<extensionDescription>IMAP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-intl</extensionName>
|
||||
<extensionDescription>Internationalization extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-json</extensionName>
|
||||
<extensionDescription>lsphp83 Json PHP Extension</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-ldap</extensionName>
|
||||
<extensionDescription>LDAP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-mbstring</extensionName>
|
||||
<extensionDescription>Multibyte string extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-mysqlnd</extensionName>
|
||||
<extensionDescription>MySQL Native Driver for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-odbc</extensionName>
|
||||
<extensionDescription>ODBC extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-opcache</extensionName>
|
||||
<extensionDescription>OPcache extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pdo</extensionName>
|
||||
<extensionDescription>PHP Data Objects extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pear</extensionName>
|
||||
<extensionDescription>PHP Extension and Application Repository.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pecl-apcu</extensionName>
|
||||
<extensionDescription>APCu - APC User Cache extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pecl-apcu-devel</extensionName>
|
||||
<extensionDescription>Development files for APCu - APC User Cache extension for PHP applications.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pecl-apcu-panel</extensionName>
|
||||
<extensionDescription>APCu - APC User Cache extension for PHP applications.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pecl-igbinary</extensionName>
|
||||
<extensionDescription>Igbinary extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pecl-igbinary-devel</extensionName>
|
||||
<extensionDescription>Development files for Igbinary extension for PHP applications.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pecl-mcrypt</extensionName>
|
||||
<extensionDescription>lsphp83 lsphp83-pecl-mcrypt Extension.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pecl-memcache</extensionName>
|
||||
<extensionDescription>Memcache extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pecl-memcached</extensionName>
|
||||
<extensionDescription>Memcached extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pecl-msgpack</extensionName>
|
||||
<extensionDescription>MessagePack extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pecl-msgpack-devel</extensionName>
|
||||
<extensionDescription>Development files for MessagePack extension for PHP applications.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pecl-redis</extensionName>
|
||||
<extensionDescription>Redis extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pgsql</extensionName>
|
||||
<extensionDescription>PostgreSQL extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-process</extensionName>
|
||||
<extensionDescription>Process control extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pspell</extensionName>
|
||||
<extensionDescription>PSpell extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-recode</extensionName>
|
||||
<extensionDescription>Recode extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-snmp</extensionName>
|
||||
<extensionDescription>SNMP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-soap</extensionName>
|
||||
<extensionDescription>SOAP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-tidy</extensionName>
|
||||
<extensionDescription>Tidy extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-xml</extensionName>
|
||||
<extensionDescription>XML extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-xmlrpc</extensionName>
|
||||
<extensionDescription>XML-RPC extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-zip</extensionName>
|
||||
<extensionDescription>ZIP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-mcrypt</extensionName>
|
||||
<extensionDescription>Mcrypt extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-dbg</extensionName>
|
||||
<extensionDescription>php83-dbg lsphp83-package</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-ioncube</extensionName>
|
||||
<extensionDescription>IonCube Loader extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pecl-imagick</extensionName>
|
||||
<extensionDescription>ImageMagick extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-sodium</extensionName>
|
||||
<extensionDescription>Sodium extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
</php>
|
||||
281
managePHP/php84.xml
Normal file
281
managePHP/php84.xml
Normal file
@@ -0,0 +1,281 @@
|
||||
<?xml version="1.0" ?>
|
||||
<php>
|
||||
<name>php84</name>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-debuginfo</extensionName>
|
||||
<extensionDescription>Debug information for package lsphp84</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pecl-igbinary-debuginfo</extensionName>
|
||||
<extensionDescription>Debug information for package lsphp84-pecl-igbinary</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pecl-mcrypt-debuginfo</extensionName>
|
||||
<extensionDescription>lsphp84 lsphp84-pecl-mcrypt-debuginfo Extension</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-bcmath</extensionName>
|
||||
<extensionDescription>A extension for PHP applications for using the bcmath library.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-common</extensionName>
|
||||
<extensionDescription>Common files for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-dba</extensionName>
|
||||
<extensionDescription>A database abstraction layer extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-devel</extensionName>
|
||||
<extensionDescription>Files needed for building PHP extensions.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-enchant</extensionName>
|
||||
<extensionDescription>Enchant spelling extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-gd</extensionName>
|
||||
<extensionDescription>A dynamic image creation extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-gmp</extensionName>
|
||||
<extensionDescription>A extension for PHP applications for using the GNU Multiple Precision Arithmetic Library.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-imap</extensionName>
|
||||
<extensionDescription>IMAP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-intl</extensionName>
|
||||
<extensionDescription>Internationalization extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-json</extensionName>
|
||||
<extensionDescription>lsphp84 Json PHP Extension</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-ldap</extensionName>
|
||||
<extensionDescription>LDAP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-mbstring</extensionName>
|
||||
<extensionDescription>Multibyte string extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-mysqlnd</extensionName>
|
||||
<extensionDescription>MySQL Native Driver for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-odbc</extensionName>
|
||||
<extensionDescription>ODBC extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-opcache</extensionName>
|
||||
<extensionDescription>OPcache extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pdo</extensionName>
|
||||
<extensionDescription>PHP Data Objects extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pear</extensionName>
|
||||
<extensionDescription>PHP Extension and Application Repository.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pecl-apcu</extensionName>
|
||||
<extensionDescription>APCu - APC User Cache extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pecl-apcu-devel</extensionName>
|
||||
<extensionDescription>Development files for APCu - APC User Cache extension for PHP applications.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pecl-apcu-panel</extensionName>
|
||||
<extensionDescription>APCu - APC User Cache extension for PHP applications.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pecl-igbinary</extensionName>
|
||||
<extensionDescription>Igbinary extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pecl-igbinary-devel</extensionName>
|
||||
<extensionDescription>Development files for Igbinary extension for PHP applications.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pecl-mcrypt</extensionName>
|
||||
<extensionDescription>lsphp84 lsphp84-pecl-mcrypt Extension.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pecl-memcache</extensionName>
|
||||
<extensionDescription>Memcache extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pecl-memcached</extensionName>
|
||||
<extensionDescription>Memcached extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pecl-msgpack</extensionName>
|
||||
<extensionDescription>MessagePack extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pecl-msgpack-devel</extensionName>
|
||||
<extensionDescription>Development files for MessagePack extension for PHP applications.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pecl-redis</extensionName>
|
||||
<extensionDescription>Redis extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pgsql</extensionName>
|
||||
<extensionDescription>PostgreSQL extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-process</extensionName>
|
||||
<extensionDescription>Process control extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pspell</extensionName>
|
||||
<extensionDescription>PSpell extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-recode</extensionName>
|
||||
<extensionDescription>Recode extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-snmp</extensionName>
|
||||
<extensionDescription>SNMP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-soap</extensionName>
|
||||
<extensionDescription>SOAP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-tidy</extensionName>
|
||||
<extensionDescription>Tidy extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-xml</extensionName>
|
||||
<extensionDescription>XML extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-xmlrpc</extensionName>
|
||||
<extensionDescription>XML-RPC extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-zip</extensionName>
|
||||
<extensionDescription>ZIP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-mcrypt</extensionName>
|
||||
<extensionDescription>Mcrypt extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-dbg</extensionName>
|
||||
<extensionDescription>php84-dbg lsphp84-package</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-ioncube</extensionName>
|
||||
<extensionDescription>IonCube Loader extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pecl-imagick</extensionName>
|
||||
<extensionDescription>ImageMagick extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-sodium</extensionName>
|
||||
<extensionDescription>Sodium extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
</php>
|
||||
281
managePHP/php85.xml
Normal file
281
managePHP/php85.xml
Normal file
@@ -0,0 +1,281 @@
|
||||
<?xml version="1.0" ?>
|
||||
<php>
|
||||
<name>php85</name>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-debuginfo</extensionName>
|
||||
<extensionDescription>Debug information for package lsphp85</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pecl-igbinary-debuginfo</extensionName>
|
||||
<extensionDescription>Debug information for package lsphp85-pecl-igbinary</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pecl-mcrypt-debuginfo</extensionName>
|
||||
<extensionDescription>lsphp85 lsphp85-pecl-mcrypt-debuginfo Extension</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-bcmath</extensionName>
|
||||
<extensionDescription>A extension for PHP applications for using the bcmath library.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-common</extensionName>
|
||||
<extensionDescription>Common files for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-dba</extensionName>
|
||||
<extensionDescription>A database abstraction layer extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-devel</extensionName>
|
||||
<extensionDescription>Files needed for building PHP extensions.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-enchant</extensionName>
|
||||
<extensionDescription>Enchant spelling extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-gd</extensionName>
|
||||
<extensionDescription>A dynamic image creation extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-gmp</extensionName>
|
||||
<extensionDescription>A extension for PHP applications for using the GNU Multiple Precision Arithmetic Library.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-imap</extensionName>
|
||||
<extensionDescription>IMAP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-intl</extensionName>
|
||||
<extensionDescription>Internationalization extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-json</extensionName>
|
||||
<extensionDescription>lsphp85 Json PHP Extension</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-ldap</extensionName>
|
||||
<extensionDescription>LDAP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-mbstring</extensionName>
|
||||
<extensionDescription>Multibyte string extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-mysqlnd</extensionName>
|
||||
<extensionDescription>MySQL Native Driver for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-odbc</extensionName>
|
||||
<extensionDescription>ODBC extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-opcache</extensionName>
|
||||
<extensionDescription>OPcache extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pdo</extensionName>
|
||||
<extensionDescription>PHP Data Objects extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pear</extensionName>
|
||||
<extensionDescription>PHP Extension and Application Repository.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pecl-apcu</extensionName>
|
||||
<extensionDescription>APCu - APC User Cache extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pecl-apcu-devel</extensionName>
|
||||
<extensionDescription>Development files for APCu - APC User Cache extension for PHP applications.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pecl-apcu-panel</extensionName>
|
||||
<extensionDescription>APCu - APC User Cache extension for PHP applications.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pecl-igbinary</extensionName>
|
||||
<extensionDescription>Igbinary extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pecl-igbinary-devel</extensionName>
|
||||
<extensionDescription>Development files for Igbinary extension for PHP applications.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pecl-mcrypt</extensionName>
|
||||
<extensionDescription>lsphp85 lsphp85-pecl-mcrypt Extension.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pecl-memcache</extensionName>
|
||||
<extensionDescription>Memcache extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pecl-memcached</extensionName>
|
||||
<extensionDescription>Memcached extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pecl-msgpack</extensionName>
|
||||
<extensionDescription>MessagePack extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pecl-msgpack-devel</extensionName>
|
||||
<extensionDescription>Development files for MessagePack extension for PHP applications.</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pecl-redis</extensionName>
|
||||
<extensionDescription>Redis extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pgsql</extensionName>
|
||||
<extensionDescription>PostgreSQL extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-process</extensionName>
|
||||
<extensionDescription>Process control extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pspell</extensionName>
|
||||
<extensionDescription>PSpell extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-recode</extensionName>
|
||||
<extensionDescription>Recode extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-snmp</extensionName>
|
||||
<extensionDescription>SNMP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-soap</extensionName>
|
||||
<extensionDescription>SOAP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-tidy</extensionName>
|
||||
<extensionDescription>Tidy extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-xml</extensionName>
|
||||
<extensionDescription>XML extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-xmlrpc</extensionName>
|
||||
<extensionDescription>XML-RPC extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-zip</extensionName>
|
||||
<extensionDescription>ZIP extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-mcrypt</extensionName>
|
||||
<extensionDescription>Mcrypt extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-dbg</extensionName>
|
||||
<extensionDescription>php85-dbg lsphp85-package</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-ioncube</extensionName>
|
||||
<extensionDescription>IonCube Loader extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pecl-imagick</extensionName>
|
||||
<extensionDescription>ImageMagick extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-sodium</extensionName>
|
||||
<extensionDescription>Sodium extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
</php>
|
||||
@@ -20,7 +20,7 @@ class PHPManager:
|
||||
# elif distro == ProcessUtilities.ubuntu20:
|
||||
# return ['PHP 7.2', 'PHP 7.3', 'PHP 7.4', 'PHP 8.0', 'PHP 8.1']
|
||||
# else:
|
||||
# return ['PHP 7.0', 'PHP 7.1', 'PHP 7.2', 'PHP 7.3', 'PHP 7.4', 'PHP 8.0', 'PHP 8.1']
|
||||
# return ['PHP 7.0', 'PHP 7.1', 'PHP 7.2', 'PHP 7.3', 'PHP 7.4', 'PHP 8.0', 'PHP 8.1', 'PHP 8.2', 'PHP 8.3', 'PHP 8.4', 'PHP 8.5']
|
||||
|
||||
try:
|
||||
|
||||
@@ -55,7 +55,7 @@ class PHPManager:
|
||||
except BaseException as msg:
|
||||
from plogical.CyberCPLogFileWriter import CyberCPLogFileWriter as logging
|
||||
logging.writeToFile(f'Error while finding php versions on system: {str(msg)}')
|
||||
return ['PHP 7.0', 'PHP 7.1', 'PHP 7.2', 'PHP 7.3', 'PHP 7.4', 'PHP 8.0', 'PHP 8.1']
|
||||
return ['PHP 7.0', 'PHP 7.1', 'PHP 7.2', 'PHP 7.3', 'PHP 7.4', 'PHP 8.0', 'PHP 8.1', 'PHP 8.2', 'PHP 8.3', 'PHP 8.4', 'PHP 8.5']
|
||||
|
||||
@staticmethod
|
||||
def findApachePHPVersions():
|
||||
@@ -67,7 +67,7 @@ class PHPManager:
|
||||
# elif distro == ProcessUtilities.ubuntu20:
|
||||
# return ['PHP 7.2', 'PHP 7.3', 'PHP 7.4', 'PHP 8.0', 'PHP 8.1']
|
||||
# else:
|
||||
# return ['PHP 7.0', 'PHP 7.1', 'PHP 7.2', 'PHP 7.3', 'PHP 7.4', 'PHP 8.0', 'PHP 8.1']
|
||||
# return ['PHP 7.0', 'PHP 7.1', 'PHP 7.2', 'PHP 7.3', 'PHP 7.4', 'PHP 8.0', 'PHP 8.1', 'PHP 8.2', 'PHP 8.3', 'PHP 8.4', 'PHP 8.5']
|
||||
|
||||
try:
|
||||
|
||||
@@ -127,7 +127,7 @@ class PHPManager:
|
||||
except BaseException as msg:
|
||||
from plogical.CyberCPLogFileWriter import CyberCPLogFileWriter as logging
|
||||
logging.writeToFile(f'Error while finding php versions on system: {str(msg)}')
|
||||
return ['PHP 7.0', 'PHP 7.1', 'PHP 7.2', 'PHP 7.3', 'PHP 7.4', 'PHP 8.0', 'PHP 8.1']
|
||||
return ['PHP 7.0', 'PHP 7.1', 'PHP 7.2', 'PHP 7.3', 'PHP 7.4', 'PHP 8.0', 'PHP 8.1', 'PHP 8.2', 'PHP 8.3', 'PHP 8.4', 'PHP 8.5']
|
||||
|
||||
@staticmethod
|
||||
def getPHPString(phpVersion):
|
||||
|
||||
131
managePHP/ubuntuphp82.xml
Normal file
131
managePHP/ubuntuphp82.xml
Normal file
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" ?>
|
||||
<php>
|
||||
<name>php82</name>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-common</extensionName>
|
||||
<extensionDescription>Most of what you need.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-curl</extensionName>
|
||||
<extensionDescription>Curl (common web tools) required for PHP</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-dbg</extensionName>
|
||||
<extensionDescription>Debugging extension</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-dev</extensionName>
|
||||
<extensionDescription>Development features almost always required.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-imap</extensionName>
|
||||
<extensionDescription>Email extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-intl</extensionName>
|
||||
<extensionDescription>Extensions for countries other than the U.S.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-json</extensionName>
|
||||
<extensionDescription>PHP extensions for JavaScript Object Notation.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-ldap</extensionName>
|
||||
<extensionDescription>PHP extensions for LDAP (directory access protocol)</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-modules-source</extensionName>
|
||||
<extensionDescription>Source code for PHP modules</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-mysql</extensionName>
|
||||
<extensionDescription>MySQL database extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-opcache</extensionName>
|
||||
<extensionDescription>OPcache extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pgsql</extensionName>
|
||||
<extensionDescription>PostgreSQL database extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-pspell</extensionName>
|
||||
<extensionDescription>Spell checking extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-recode</extensionName>
|
||||
<extensionDescription>Character set conversion extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-snmp</extensionName>
|
||||
<extensionDescription>SNMP extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-sqlite3</extensionName>
|
||||
<extensionDescription>SQLite3 database extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-sybase</extensionName>
|
||||
<extensionDescription>Sybase database extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-tidy</extensionName>
|
||||
<extensionDescription>Tidy HTML extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-ioncube</extensionName>
|
||||
<extensionDescription>IonCube Loader extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-imagick</extensionName>
|
||||
<extensionDescription>ImageMagick extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp82-sodium</extensionName>
|
||||
<extensionDescription>Sodium extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
</php>
|
||||
131
managePHP/ubuntuphp83.xml
Normal file
131
managePHP/ubuntuphp83.xml
Normal file
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" ?>
|
||||
<php>
|
||||
<name>php83</name>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-common</extensionName>
|
||||
<extensionDescription>Most of what you need.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-curl</extensionName>
|
||||
<extensionDescription>Curl (common web tools) required for PHP</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-dbg</extensionName>
|
||||
<extensionDescription>Debugging extension</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-dev</extensionName>
|
||||
<extensionDescription>Development features almost always required.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-imap</extensionName>
|
||||
<extensionDescription>Email extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-intl</extensionName>
|
||||
<extensionDescription>Extensions for countries other than the U.S.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-json</extensionName>
|
||||
<extensionDescription>PHP extensions for JavaScript Object Notation.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-ldap</extensionName>
|
||||
<extensionDescription>PHP extensions for LDAP (directory access protocol)</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-modules-source</extensionName>
|
||||
<extensionDescription>Source code for PHP modules</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-mysql</extensionName>
|
||||
<extensionDescription>MySQL database extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-opcache</extensionName>
|
||||
<extensionDescription>OPcache extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pgsql</extensionName>
|
||||
<extensionDescription>PostgreSQL database extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-pspell</extensionName>
|
||||
<extensionDescription>Spell checking extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-recode</extensionName>
|
||||
<extensionDescription>Character set conversion extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-snmp</extensionName>
|
||||
<extensionDescription>SNMP extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-sqlite3</extensionName>
|
||||
<extensionDescription>SQLite3 database extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-sybase</extensionName>
|
||||
<extensionDescription>Sybase database extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-tidy</extensionName>
|
||||
<extensionDescription>Tidy HTML extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-ioncube</extensionName>
|
||||
<extensionDescription>IonCube Loader extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-imagick</extensionName>
|
||||
<extensionDescription>ImageMagick extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp83-sodium</extensionName>
|
||||
<extensionDescription>Sodium extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
</php>
|
||||
131
managePHP/ubuntuphp84.xml
Normal file
131
managePHP/ubuntuphp84.xml
Normal file
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" ?>
|
||||
<php>
|
||||
<name>php84</name>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-common</extensionName>
|
||||
<extensionDescription>Most of what you need.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-curl</extensionName>
|
||||
<extensionDescription>Curl (common web tools) required for PHP</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-dbg</extensionName>
|
||||
<extensionDescription>Debugging extension</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-dev</extensionName>
|
||||
<extensionDescription>Development features almost always required.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-imap</extensionName>
|
||||
<extensionDescription>Email extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-intl</extensionName>
|
||||
<extensionDescription>Extensions for countries other than the U.S.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-json</extensionName>
|
||||
<extensionDescription>PHP extensions for JavaScript Object Notation.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-ldap</extensionName>
|
||||
<extensionDescription>PHP extensions for LDAP (directory access protocol)</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-modules-source</extensionName>
|
||||
<extensionDescription>Source code for PHP modules</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-mysql</extensionName>
|
||||
<extensionDescription>MySQL database extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-opcache</extensionName>
|
||||
<extensionDescription>OPcache extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pgsql</extensionName>
|
||||
<extensionDescription>PostgreSQL database extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-pspell</extensionName>
|
||||
<extensionDescription>Spell checking extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-recode</extensionName>
|
||||
<extensionDescription>Character set conversion extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-snmp</extensionName>
|
||||
<extensionDescription>SNMP extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-sqlite3</extensionName>
|
||||
<extensionDescription>SQLite3 database extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-sybase</extensionName>
|
||||
<extensionDescription>Sybase database extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-tidy</extensionName>
|
||||
<extensionDescription>Tidy HTML extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-ioncube</extensionName>
|
||||
<extensionDescription>IonCube Loader extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-imagick</extensionName>
|
||||
<extensionDescription>ImageMagick extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp84-sodium</extensionName>
|
||||
<extensionDescription>Sodium extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
</php>
|
||||
131
managePHP/ubuntuphp85.xml
Normal file
131
managePHP/ubuntuphp85.xml
Normal file
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" ?>
|
||||
<php>
|
||||
<name>php85</name>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-common</extensionName>
|
||||
<extensionDescription>Most of what you need.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-curl</extensionName>
|
||||
<extensionDescription>Curl (common web tools) required for PHP</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-dbg</extensionName>
|
||||
<extensionDescription>Debugging extension</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-dev</extensionName>
|
||||
<extensionDescription>Development features almost always required.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-imap</extensionName>
|
||||
<extensionDescription>Email extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-intl</extensionName>
|
||||
<extensionDescription>Extensions for countries other than the U.S.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-json</extensionName>
|
||||
<extensionDescription>PHP extensions for JavaScript Object Notation.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-ldap</extensionName>
|
||||
<extensionDescription>PHP extensions for LDAP (directory access protocol)</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-modules-source</extensionName>
|
||||
<extensionDescription>Source code for PHP modules</extensionDescription>
|
||||
<status>0</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-mysql</extensionName>
|
||||
<extensionDescription>MySQL database extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-opcache</extensionName>
|
||||
<extensionDescription>OPcache extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pgsql</extensionName>
|
||||
<extensionDescription>PostgreSQL database extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-pspell</extensionName>
|
||||
<extensionDescription>Spell checking extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-recode</extensionName>
|
||||
<extensionDescription>Character set conversion extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-snmp</extensionName>
|
||||
<extensionDescription>SNMP extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-sqlite3</extensionName>
|
||||
<extensionDescription>SQLite3 database extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-sybase</extensionName>
|
||||
<extensionDescription>Sybase database extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-tidy</extensionName>
|
||||
<extensionDescription>Tidy HTML extensions for PHP.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-ioncube</extensionName>
|
||||
<extensionDescription>IonCube Loader extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-imagick</extensionName>
|
||||
<extensionDescription>ImageMagick extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
<extension>
|
||||
<extensionName>lsphp85-sodium</extensionName>
|
||||
<extensionDescription>Sodium extension for PHP applications.</extensionDescription>
|
||||
<status>1</status>
|
||||
</extension>
|
||||
|
||||
</php>
|
||||
@@ -277,7 +277,7 @@
|
||||
<div class="ssl-section">
|
||||
<div style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; flex-wrap: wrap; gap: 15px;">
|
||||
<h2 class="section-title">MANAGE SSL</h2>
|
||||
<a href="http://go.cyberpanel.net/ssl-docs" target="_blank" class="ssl-docs-link">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/cyberpanel-ssl-manager-v1/" target="_blank" class="ssl-docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "SSL Docs" %}
|
||||
</a>
|
||||
|
||||
@@ -256,7 +256,7 @@
|
||||
<div class="ssl-section">
|
||||
<div style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; flex-wrap: wrap; gap: 15px;">
|
||||
<h2 class="section-title">SSL FOR HOSTNAME</h2>
|
||||
<a href="http://go.cyberpanel.net/hostname-ssl" target="_blank" class="ssl-docs-link">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/cyberpanel-on-ssl/" target="_blank" class="ssl-docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "SSL Docs" %}
|
||||
</a>
|
||||
|
||||
@@ -243,7 +243,7 @@
|
||||
<div class="ssl-section">
|
||||
<div style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; flex-wrap: wrap; gap: 15px;">
|
||||
<h2 class="section-title">SSL FOR MAIL SERVER</h2>
|
||||
<a href="http://go.cyberpanel.net/mailserver-ssl" target="_blank" class="ssl-docs-link">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/mail-server-ssl/" target="_blank" class="ssl-docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "SSL Docs" %}
|
||||
</a>
|
||||
|
||||
@@ -320,7 +320,7 @@
|
||||
</h1>
|
||||
<p>{% trans "Enable or disable Email services for your server" %}</p>
|
||||
<div style="margin-top: 20px;">
|
||||
<a target="_blank" href="https://go.cyberpanel.net/manage-services" class="docs-link">
|
||||
<a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/email-in-cyberpanel/" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Services Docs" %}
|
||||
</a>
|
||||
|
||||
@@ -398,7 +398,7 @@
|
||||
</h1>
|
||||
<p>{% trans "Enable or disable DNS services and configure DNS operation mode" %}</p>
|
||||
<div style="margin-top: 20px;">
|
||||
<a target="_blank" href="https://go.cyberpanel.net/manage-services" class="docs-link">
|
||||
<a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/dns-management-cyberpanel/" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Services Docs" %}
|
||||
</a>
|
||||
|
||||
@@ -347,7 +347,7 @@
|
||||
</h1>
|
||||
<p>{% trans "Enable or disable FTP services for secure file transfers" %}</p>
|
||||
<div style="margin-top: 20px;">
|
||||
<a target="_blank" href="https://go.cyberpanel.net/manage-services" class="docs-link">
|
||||
<a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/setup-ftp-account-in-cyberpanel/" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Services Docs" %}
|
||||
</a>
|
||||
|
||||
@@ -194,8 +194,8 @@ class ProcessUtilities(multi.Thread):
|
||||
content = f.read()
|
||||
if any(x in content for x in ['CentOS Linux release 8', 'AlmaLinux release 8', 'Rocky Linux release 8',
|
||||
'Rocky Linux release 9', 'AlmaLinux release 9', 'CloudLinux release 9',
|
||||
'CloudLinux release 8']):
|
||||
if any(x in content for x in ['AlmaLinux release 9', 'Rocky Linux release 9']):
|
||||
'CloudLinux release 8', 'AlmaLinux release 10']):
|
||||
if any(x in content for x in ['AlmaLinux release 9', 'Rocky Linux release 9', 'AlmaLinux release 10']):
|
||||
ProcessUtilities.alma9check = 1
|
||||
return ProcessUtilities.cent8
|
||||
|
||||
|
||||
@@ -3215,6 +3215,12 @@ echo $oConfig->Save() ? 'Done' : 'Error';
|
||||
command = 'yum install lsphp83* -y'
|
||||
subprocess.call(command, shell=True)
|
||||
|
||||
command = 'yum install lsphp84* -y'
|
||||
subprocess.call(command, shell=True)
|
||||
|
||||
command = 'yum install lsphp85* -y'
|
||||
subprocess.call(command, shell=True)
|
||||
|
||||
except:
|
||||
command = 'DEBIAN_FRONTEND=noninteractive apt-get -y install ' \
|
||||
'lsphp7? lsphp7?-common lsphp7?-curl lsphp7?-dev lsphp7?-imap lsphp7?-intl lsphp7?-json ' \
|
||||
@@ -3234,6 +3240,12 @@ echo $oConfig->Save() ? 'Done' : 'Error';
|
||||
command = 'DEBIAN_FRONTEND=noninteractive apt-get -y install lsphp83*'
|
||||
os.system(command)
|
||||
|
||||
command = 'DEBIAN_FRONTEND=noninteractive apt-get -y install lsphp84*'
|
||||
os.system(command)
|
||||
|
||||
command = 'DEBIAN_FRONTEND=noninteractive apt-get -y install lsphp85*'
|
||||
os.system(command)
|
||||
|
||||
CentOSPath = '/etc/redhat-release'
|
||||
openEulerPath = '/etc/openEuler-release'
|
||||
|
||||
|
||||
@@ -419,7 +419,7 @@
|
||||
<p class="page-subtitle">
|
||||
{% trans "Configure how CyberPanel sends notifications and error emails" %}
|
||||
</p>
|
||||
<a href="https://go.cyberpanel.net/serverMail" target="_blank" class="docs-link">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/email-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Mail Documentation" %}
|
||||
</a>
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<title>CodeMirror: APL mode</title>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel=stylesheet href="../../doc/docs.css">
|
||||
|
||||
<link rel="stylesheet" href="../../lib/codemirror.css">
|
||||
@@ -27,7 +29,7 @@
|
||||
|
||||
<article>
|
||||
<h2>APL mode</h2>
|
||||
<form><textarea id="code" name="code">
|
||||
<form><label for="code">APL code editor</label><textarea id="code" name="code" placeholder="Enter APL code here" title="APL code editor">
|
||||
⍝ Conway's game of life
|
||||
|
||||
⍝ This example was inspired by the impressive demo at
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<title>CodeMirror: COBOL mode</title>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel=stylesheet href="../../doc/docs.css">
|
||||
|
||||
<link rel="stylesheet" href="../../lib/codemirror.css">
|
||||
@@ -55,7 +57,7 @@
|
||||
<article>
|
||||
<h2>COBOL mode</h2>
|
||||
|
||||
<p> Select Theme <select onchange="selectTheme()" id="selectTheme">
|
||||
<p> Select Theme <select onchange="selectTheme()" id="selectTheme" title="Select theme" aria-label="Select theme">
|
||||
<option>default</option>
|
||||
<option>ambiance</option>
|
||||
<option>blackboard</option>
|
||||
@@ -75,7 +77,7 @@
|
||||
<option>vibrant-ink</option>
|
||||
<option>xq-dark</option>
|
||||
<option>xq-light</option>
|
||||
</select> Select Font Size <select onchange="selectFontsize()" id="selectFontSize">
|
||||
</select> Select Font Size <select onchange="selectFontsize()" id="selectFontSize" title="Select font size" aria-label="Select font size">
|
||||
<option value="13px">13px</option>
|
||||
<option value="14px">14px</option>
|
||||
<option value="16px">16px</option>
|
||||
@@ -94,7 +96,8 @@
|
||||
<label for="id_tabToIndentSpace">Insert Spaces on Tab</label>
|
||||
<input type="checkbox" id="id_tabToIndentSpace" onchange="tabToIndentSpace()">
|
||||
</p>
|
||||
<textarea id="code" name="code">
|
||||
<label for="code">COBOL code editor</label>
|
||||
<textarea id="code" name="code" placeholder="Enter COBOL code here" title="COBOL code editor">
|
||||
---------1---------2---------3---------4---------5---------6---------7---------8
|
||||
12345678911234567892123456789312345678941234567895123456789612345678971234567898
|
||||
000010 IDENTIFICATION DIVISION. MODTGHERE
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<title>CodeMirror: Cypher Mode for CodeMirror</title>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel=stylesheet href="../../doc/docs.css">
|
||||
|
||||
<link rel="stylesheet" href="../../lib/codemirror.css" />
|
||||
@@ -32,7 +34,8 @@
|
||||
<article>
|
||||
<h2>Cypher Mode for CodeMirror</h2>
|
||||
<form>
|
||||
<textarea id="code" name="code">// Cypher Mode for CodeMirror, using the neo theme
|
||||
<label for="code">Cypher code editor</label>
|
||||
<textarea id="code" name="code" placeholder="Enter Cypher query here" title="Cypher code editor">// Cypher Mode for CodeMirror, using the neo theme
|
||||
MATCH (joe { name: 'Joe' })-[:knows*2..2]-(friend_of_friend)
|
||||
WHERE NOT (joe)-[:knows]-(friend_of_friend)
|
||||
RETURN friend_of_friend.name, COUNT(*)
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<title>CodeMirror: ECL mode</title>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel=stylesheet href="../../doc/docs.css">
|
||||
|
||||
<link rel="stylesheet" href="../../lib/codemirror.css">
|
||||
@@ -24,7 +26,7 @@
|
||||
|
||||
<article>
|
||||
<h2>ECL mode</h2>
|
||||
<form><textarea id="code" name="code">
|
||||
<form><label for="code">ECL code editor</label><textarea id="code" name="code" placeholder="Enter ECL code here" title="ECL code editor">
|
||||
/*
|
||||
sample useless code to demonstrate ecl syntax highlighting
|
||||
this is a multiline comment!
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<title>CodeMirror: Eiffel mode</title>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel=stylesheet href="../../doc/docs.css">
|
||||
|
||||
<link rel="stylesheet" href="../../lib/codemirror.css">
|
||||
@@ -28,7 +30,7 @@
|
||||
|
||||
<article>
|
||||
<h2>Eiffel mode</h2>
|
||||
<form><textarea id="code" name="code">
|
||||
<form><label for="code">Eiffel code editor</label><textarea id="code" name="code" placeholder="Enter Eiffel code here" title="Eiffel code editor">
|
||||
note
|
||||
description: "[
|
||||
Project-wide universal properties.
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<title>CodeMirror: Erlang mode</title>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel=stylesheet href="../../doc/docs.css">
|
||||
|
||||
<link rel="stylesheet" href="../../lib/codemirror.css">
|
||||
@@ -26,7 +28,7 @@
|
||||
|
||||
<article>
|
||||
<h2>Erlang mode</h2>
|
||||
<form><textarea id="code" name="code">
|
||||
<form><label for="code">Erlang code editor</label><textarea id="code" name="code" placeholder="Enter Erlang code here" title="Erlang code editor">
|
||||
%% -*- mode: erlang; erlang-indent-level: 2 -*-
|
||||
%%% Created : 7 May 2012 by mats cronqvist <masse@klarna.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<title>CodeMirror: JavaScript mode</title>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel=stylesheet href="../../doc/docs.css">
|
||||
|
||||
<link rel="stylesheet" href="../../lib/codemirror.css">
|
||||
@@ -29,7 +31,7 @@
|
||||
<h2>JavaScript mode</h2>
|
||||
|
||||
|
||||
<div><textarea id="code" name="code">
|
||||
<div><label for="code">JavaScript code editor</label><textarea id="code" name="code" placeholder="Enter JavaScript code here" title="JavaScript code editor">
|
||||
// Demo code (the actual new parser character stream implementation)
|
||||
|
||||
function StringStream(string) {
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<title>CodeMirror: Lua mode</title>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel=stylesheet href="../../doc/docs.css">
|
||||
|
||||
<link rel="stylesheet" href="../../lib/codemirror.css">
|
||||
@@ -26,7 +28,7 @@
|
||||
|
||||
<article>
|
||||
<h2>Lua mode</h2>
|
||||
<form><textarea id="code" name="code">
|
||||
<form><label for="code">Lua code editor</label><textarea id="code" name="code" placeholder="Enter Lua code here" title="Lua code editor">
|
||||
--[[
|
||||
example useless code to show lua syntax highlighting
|
||||
this is multiline comment
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<title>CodeMirror: PHP mode</title>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel=stylesheet href="../../doc/docs.css">
|
||||
|
||||
<link rel="stylesheet" href="../../lib/codemirror.css">
|
||||
@@ -30,7 +32,7 @@
|
||||
|
||||
<article>
|
||||
<h2>PHP mode</h2>
|
||||
<form><textarea id="code" name="code">
|
||||
<form><label for="code">PHP code editor</label><textarea id="code" name="code" placeholder="Enter PHP code here" title="PHP code editor">
|
||||
<?php
|
||||
$a = array('a' => 1, 'b' => 2, 3 => 'c');
|
||||
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<title>CodeMirror: Python mode</title>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel=stylesheet href="../../doc/docs.css">
|
||||
|
||||
<link rel="stylesheet" href="../../lib/codemirror.css">
|
||||
@@ -26,7 +28,7 @@
|
||||
<article>
|
||||
<h2>Python mode</h2>
|
||||
|
||||
<div><textarea id="code" name="code">
|
||||
<div><label for="code">Python code editor</label><textarea id="code" name="code" placeholder="Enter Python code here" title="Python code editor">
|
||||
# Literals
|
||||
1234
|
||||
0.0e101
|
||||
@@ -140,7 +142,7 @@ fr'x={4*10}\n'
|
||||
|
||||
<h2>Cython mode</h2>
|
||||
|
||||
<div><textarea id="code-cython" name="code-cython">
|
||||
<div><label for="code-cython">Cython code editor</label><textarea id="code-cython" name="code-cython" placeholder="Enter Cython code here" title="Cython code editor">
|
||||
|
||||
import numpy as np
|
||||
cimport cython
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<title>CodeMirror: Soy (Closure Template) mode</title>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel=stylesheet href="../../doc/docs.css">
|
||||
|
||||
<link rel="stylesheet" href="../../lib/codemirror.css">
|
||||
@@ -29,7 +31,7 @@
|
||||
|
||||
<article>
|
||||
<h2>Soy (Closure Template) mode</h2>
|
||||
<form><textarea id="code" name="code">
|
||||
<form><label for="code">Soy code editor</label><textarea id="code" name="code" placeholder="Enter Soy template code here" title="Soy code editor">
|
||||
{namespace example}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<title>CodeMirror: SPARQL mode</title>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel=stylesheet href="../../doc/docs.css">
|
||||
|
||||
<link rel="stylesheet" href="../../lib/codemirror.css">
|
||||
|
||||
@@ -684,6 +684,9 @@
|
||||
<option>lsphp80</option>
|
||||
<option>lsphp81</option>
|
||||
<option>lsphp82</option>
|
||||
<option>lsphp83</option>
|
||||
<option>lsphp84</option>
|
||||
<option>lsphp85</option>
|
||||
{% endif %}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -767,7 +767,7 @@
|
||||
<i class="fas fa-crown"></i>
|
||||
{% trans "Premium" %}
|
||||
</span>
|
||||
<a href="https://go.cyberpanel.net/ApacheRev" target="_blank" style="margin-left: 10px;">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/deploy-a-wordpress-on-cyberpanel/" target="_blank" style="margin-left: 10px;">
|
||||
<i class="fas fa-external-link-alt"></i>
|
||||
</a>
|
||||
</span>
|
||||
|
||||
@@ -502,7 +502,7 @@
|
||||
<input ng-model="apacheBackend" type="checkbox" id="apacheBackend" disabled>
|
||||
<label for="apacheBackend" class="checkbox-label">
|
||||
OpenLiteSpeed + Apache (Backend) -
|
||||
<a href="https://go.cyberpanel.net/ApacheRev" target="_blank">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/creating-website/" target="_blank">
|
||||
Premium Feature
|
||||
<i class="fas fa-external-link-alt" style="font-size: 10px;"></i>
|
||||
</a>
|
||||
|
||||
@@ -433,7 +433,7 @@
|
||||
<input ng-model="apacheBackend" type="checkbox" id="apacheBackend" disabled>
|
||||
<label for="apacheBackend" class="checkbox-label">
|
||||
OpenLiteSpeed + Apache (Backend) -
|
||||
<a href="https://go.cyberpanel.net/ApacheRev" target="_blank">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/creating-website/" target="_blank">
|
||||
Premium Feature
|
||||
<i class="fas fa-external-link-alt" style="font-size: 10px;"></i>
|
||||
</a>
|
||||
|
||||
@@ -416,7 +416,7 @@
|
||||
<i class="fab fa-wordpress" style="color: var(--primary-color);"></i>
|
||||
<span id="domainNamePage">{{ domainName }}</span> - {% trans "Installation Details" %}
|
||||
<span style="margin-left: auto;">
|
||||
<a href="https://go.cyberpanel.net/StessTest">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/deploy-a-wordpress-on-cyberpanel/">
|
||||
<i class="fas fa-tachometer-alt"></i>
|
||||
Stress Test
|
||||
</a>
|
||||
@@ -531,7 +531,7 @@
|
||||
</a>
|
||||
{% trans "or perform" %}
|
||||
<strong>
|
||||
<a href="https://go.cyberpanel.net/StessTest">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/deploy-a-wordpress-on-cyberpanel/">
|
||||
<i class="fas fa-tachometer-alt"></i>
|
||||
stress test
|
||||
</a>
|
||||
|
||||
@@ -589,7 +589,7 @@
|
||||
{% trans "Sync to Master" %}
|
||||
</a>
|
||||
<a class="btn btn-stress"
|
||||
href="https://go.cyberpanel.net/StessTest"
|
||||
href="https://cyberpanel.net/KnowledgeBase/home/child-domains-launcher/"
|
||||
target="_blank"
|
||||
title="Stress Test">
|
||||
<i class="fas fa-tachometer-alt"></i>
|
||||
|
||||
@@ -494,7 +494,7 @@
|
||||
<h2>
|
||||
<i class="fas fa-clock" style="margin-right: 10px;"></i>
|
||||
{% trans "Cron Management" %}
|
||||
<a target="_blank" href="http://go.cyberpanel.net/cron-jobs" class="btn btn-link">
|
||||
<a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/cron-jobs/" class="btn btn-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Cron Docs" %}
|
||||
</a>
|
||||
|
||||
@@ -560,7 +560,7 @@
|
||||
<h2>
|
||||
<i class="fab fa-git-alt" style="margin-right: 10px;"></i>
|
||||
{% trans "Manage GIT" %}
|
||||
<a target="_blank" href="https://go.cyberpanel.net/manageGit" class="btn btn-link">
|
||||
<a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/website-management/" class="btn btn-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Git Docs" %}
|
||||
</a>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user