HEX
Server: Apache
System: Linux 136-243-153-58.cprapid.com 4.18.0-553.81.1.el8_10.x86_64 #1 SMP Mon Oct 27 11:29:19 EDT 2025 x86_64
User: mytest (1001)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/mytest/.trash/CLEAR_CACHE_FILE.php
<?php
echo "<h1>Laravel Cache Cleaner</h1>";
echo "<p>Clearing Laravel caches...</p>";

// Clear Laravel cache
$commands = [
    'php artisan config:clear',
    'php artisan cache:clear',
    'php artisan route:clear',
    'php artisan view:clear'
];

foreach ($commands as $command) {
    echo "<p>Running: $command</p>";
    $output = shell_exec($command . ' 2>&1');
    echo "<pre>$output</pre>";
}

echo "<h2>✅ Cache clearing completed!</h2>";
echo "<p><strong>Now try accessing your ERP system again.</strong></p>";
echo "<p><a href='/login'>Go to Login Page</a></p>";
?>