mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-08-04 22:30:08 +02:00
Refactor CyberPanel installation logic to streamline PHP version handling
- Removed local installation function in favor of a direct installation approach. - Updated installation script to prioritize the development branch for downloading CyberPanel, with a fallback to stable if unavailable. - Adjusted PHP version lists across various scripts to exclude PHP 8.6 and ensure compatibility with existing versions. - Enhanced error handling and feedback during installation to improve user experience.
This commit is contained in:
@@ -373,12 +373,6 @@ class phpUtilities:
|
||||
ubuntuPHP = 'php8.5'
|
||||
|
||||
|
||||
phpPath = ApacheVhost.DecidePHPPath('86', virtualHostName)
|
||||
if os.path.exists(phpPath):
|
||||
centOSPHP = 'php86'
|
||||
ubuntuPHP = 'php8.6'
|
||||
|
||||
|
||||
|
||||
######
|
||||
|
||||
|
||||
Reference in New Issue
Block a user