diff --git a/install/install.py b/install/install.py index 5905139dc..1ab1b78ef 100755 --- a/install/install.py +++ b/install/install.py @@ -1403,7 +1403,7 @@ $cfg['Servers'][$i]['LogoutURL'] = 'phpmyadminsignin.php?logout'; command = f'wget -O /usr/local/CyberCP/snappymail_cyberpanel.php https://raw.githubusercontent.com/the-djmaze/snappymail/master/integrations/cyberpanel/install.php' preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) - command = f'/usr/local/lsws/lsphp74/bin/php /usr/local/CyberCP/snappymail_cyberpanel.php' + command = f'/usr/local/lsws/lsphp80/bin/php /usr/local/CyberCP/snappymail_cyberpanel.php' preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) @@ -1602,7 +1602,7 @@ $cfg['Servers'][$i]['LogoutURL'] = 'phpmyadminsignin.php?logout'; try: os.remove("/usr/local/lscp/fcgi-bin/lsphp") - shutil.copy("/usr/local/lsws/lsphp74/bin/lsphp", "/usr/local/lscp/fcgi-bin/lsphp") + shutil.copy("/usr/local/lsws/lsphp80/bin/lsphp", "/usr/local/lscp/fcgi-bin/lsphp") except: pass diff --git a/plogical/applicationInstaller.py b/plogical/applicationInstaller.py index c1d1cb530..407dd5bcb 100755 --- a/plogical/applicationInstaller.py +++ b/plogical/applicationInstaller.py @@ -31,7 +31,7 @@ class ApplicationInstaller(multi.Thread): LOCALHOST = 'localhost' REMOTE = 0 PORT = '3306' - MauticVersion = '4.1.2' + MauticVersion = '4.4.0' PrestaVersion = '1.7.8.3' def __init__(self, installApp, extraArgs): @@ -242,7 +242,7 @@ $parameters = array( command = 'cp %s %s/app/config/local.php' % (localDB, finalPath) ProcessUtilities.executioner(command, externalApp) - command = "/usr/local/lsws/lsphp74/bin/php bin/console mautic:install http://%s -f" % (finalURL) + command = "/usr/local/lsws/lsphp80/bin/php bin/console mautic:install http://%s -f" % (finalURL) result = ProcessUtilities.outputExecutioner(command, externalApp, None, finalPath) if result.find('Install complete') == -1: @@ -1699,6 +1699,7 @@ $parameters = array( DataToPass['dkimCheck'] = 0 DataToPass['openBasedir'] = 0 DataToPass['mailDomain'] = 0 + DataToPass['apacheBackend'] = self.extraArgs['apacheBackend'] UserID = self.data['adminID'] try: diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 2fa41840a..481125153 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -513,7 +513,7 @@ $cfg['Servers'][$i]['LogoutURL'] = 'phpmyadminsignin.php?logout'; command = f'wget -O /usr/local/CyberCP/snappymail_cyberpanel.php https://raw.githubusercontent.com/the-djmaze/snappymail/master/integrations/cyberpanel/install.php' Upgrade.executioner(command, 'verify certificate', 0) - command = f'/usr/local/lsws/lsphp74/bin/php /usr/local/CyberCP/snappymail_cyberpanel.php' + command = f'/usr/local/lsws/lsphp80/bin/php /usr/local/CyberCP/snappymail_cyberpanel.php' Upgrade.executioner(command, 'verify certificate', 0) # labsPath = '/usr/local/lscp/cyberpanel/rainloop/data/_data_/_default_/configs/application.ini' @@ -3021,7 +3021,7 @@ vmail except: pass - command = 'cp /usr/local/lsws/lsphp74/bin/lsphp %s' % (phpPath) + command = 'cp /usr/local/lsws/lsphp80/bin/lsphp %s' % (phpPath) Upgrade.executioner(command, 0) try: diff --git a/websiteFunctions/static/websiteFunctions/websiteFunctions.js b/websiteFunctions/static/websiteFunctions/websiteFunctions.js index 915766d9b..05f3a7fb3 100755 --- a/websiteFunctions/static/websiteFunctions/websiteFunctions.js +++ b/websiteFunctions/static/websiteFunctions/websiteFunctions.js @@ -301,6 +301,14 @@ app.controller('createWordpress', function ($scope, $http, $timeout, $compile, $ $scope.currentStatus = "Starting creation.."; + var apacheBackend = 0; + + if ($scope.apacheBackend === true) { + apacheBackend = 1; + } else { + apacheBackend = 0 + } + var package = $scope.packageForWebsite; var websiteOwner = $scope.websiteOwner; var WPtitle = $scope.WPtitle; @@ -361,6 +369,7 @@ app.controller('createWordpress', function ($scope, $http, $timeout, $compile, $ package: package, home: home, path: path, + apacheBackend: apacheBackend } var config = { @@ -512,7 +521,7 @@ function DeployToProductionInitial(vall) { var create_staging_domain_check = 0; function create_staging_checkbox_function() { - + try { var checkBox = document.getElementById("Create_Staging_Check"); @@ -530,8 +539,8 @@ function create_staging_checkbox_function() { document.getElementById('Website_Create_Own_Domain').style.display = "block"; create_staging_domain_check = 1; } - }catch (e) { - + } catch (e) { + } // alert(domain_check); diff --git a/websiteFunctions/templates/websiteFunctions/ApacheManager.html b/websiteFunctions/templates/websiteFunctions/ApacheManager.html index c440de014..a5727ebb3 100755 --- a/websiteFunctions/templates/websiteFunctions/ApacheManager.html +++ b/websiteFunctions/templates/websiteFunctions/ApacheManager.html @@ -7,212 +7,331 @@ {% get_current_language as LANGUAGE_CODE %} -
{% trans "Switch between Apache (as reverse proxy) and OpenLiteSpeed." %}
-{% trans "Switch between Apache (as reverse proxy) and OpenLiteSpeed." %}
+
-
+ 

{{ domainName }} is currently using pure - OpenLiteSpeed, PHP-FPM - is - not used with OpenLiteSpeed, thus tuning is disabled.
- -{{ domainName }} is using LiteSpeed Enterprise. - PHP-FPM is not - used - with LiteSpeed - Enterprise.
-{{ domainName }} is currently using pure OpenLiteSpeed.
-{{ domainName }} is using LiteSpeed Enterprise. When - LiteSpeed - Enterprise is active switching is not required.
-+ Are you seeking the ultimate web hosting solution that combines blazing-fast performance with + unparalleled feature versatility? Look no further! CyberPanel is proud to present its groundbreaking + new feature: the OpenLiteSpeed + Apache hybrid web server. This cutting-edge innovation is designed + to take your website's performance and functionality to unprecedented heights, offering the best of + both worlds in a single, seamless package. +
+ ++ Harness the raw power of OpenLiteSpeed, the industry-leading, high-performance web server that + ensures lightning-fast response times and unparalleled efficiency. OpenLiteSpeed is renowned for its + remarkable performance capabilities, enabling your websites to handle a massive influx of traffic + without compromising on speed or reliability. Experience near-instantaneous page loads and swift + data transfers, providing an unbeatable user experience that keeps visitors engaged and coming back + for more. +
+ ++ While OpenLiteSpeed excels in speed and efficiency, we understand that Apache is favored by many web + developers for its extensive feature set and compatibility. CyberPanel's innovative hybrid approach + allows you to harness the full potential of Apache as a backend, granting access to an impressive + array of modules, scripts, and configurations. Enjoy the freedom to leverage the vast Apache + ecosystem, ensuring seamless integration with a wide range of applications and platforms. +
+ ++ By merging OpenLiteSpeed and Apache, CyberPanel has created a truly game-changing web server + solution that combines the unparalleled speed of OpenLiteSpeed with the feature-rich environment of + Apache. The result is a synergistic combination that sets new industry standards, empowering you to + elevate your web hosting to unprecedented levels of performance and functionality. +
+ ++ Unleash the true potential of your websites with CyberPanel's OpenLiteSpeed + Apache hybrid web + server. Experience unparalleled speed, efficiency, and versatility in one unified solution. Upgrade + your web hosting experience today and revolutionize the way you deliver content to your audience. + Embrace the future of web hosting with CyberPanel's groundbreaking innovation! +
++ +
+