Current Path: > > opt > alt > alt-php-config
Operation : Linux premium107.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 : 198.54.126.246 | Your IP: 216.73.216.181 Domains : 1034 Domain(s) Permission : [ 0755 ]
| Name | Type | Size | Last Modified | Actions |
|---|---|---|---|---|
| __pycache__ | Directory | - | - | |
| alt-php-panel-configuration.py | File | 8751 bytes | January 12 2026 22:33:19. | |
| alt-php.cfg | File | 308 bytes | January 16 2026 11:36:54. | |
| detectcp.py | File | 699 bytes | January 12 2026 22:33:19. | |
| install_odbc | File | 526 bytes | January 12 2026 22:22:29. | |
| multiphp_reconfigure.py | File | 7892 bytes | January 12 2026 22:33:19. |
#!/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