SILENT KILLERPanel

Current Path: > > opt > alt > > alt-php-config


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt//alt-php-config

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
alt-php-panel-configuration.py File 7735 bytes July 04 2025 18:44:32.
alt-php.cfg File 292 bytes December 11 2024 08:14:22.
detectcp.py File 699 bytes July 04 2025 18:44:33.
install_odbc File 526 bytes July 04 2025 18:37:23.
multiphp_reconfigure.py File 7892 bytes July 04 2025 18:44:33.

Reading File: //opt/alt//alt-php-config/detectcp.py

#!/usr/libexec/platform-python
# -*- mode:python; coding:utf-8; -*-
import os


def getCPName():
    # cPanel
    if os.path.isfile('/usr/local/cpanel/cpanel'):
        return "cPanel"
    # DirectAdmin
    if os.path.isfile('/usr/local/directadmin/directadmin') or \
       os.path.isfile('/usr/local/directadmin/custombuild/build'):
        return "DirectAdmin"
    # InterWorx
    if os.path.isfile('/usr/local/interworx/iworx.ini'):
        return "InterWorx"
    # ISPManager
    if os.path.isfile('/usr/local/ispmgr/bin/ispmgr'):
        return "ISPManager"
    # Plesk
    if os.path.isfile('/usr/local/psa/version'):
        return "Plesk"
    # Unknown panel / No panel
    return "Unknown"

SILENT KILLER Tool