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/opcache-reset.php.65
<?php
header('Content-Type: text/plain');

echo "=== OPCACHE RESET ===\n\n";

if (function_exists('opcache_reset')) {
    if (opcache_reset()) {
        echo "✅ Opcache has been reset!\n\n";
        echo "Now test the search again!\n";
    } else {
        echo "❌ Opcache reset failed\n";
        echo "You need to restart PHP-FPM manually\n";
    }
} else {
    echo "⚠️ Opcache functions not available\n";
    echo "Trying to clear by touching file...\n\n";
    
    $file = __DIR__ . '/api/services/BookingManagerService.php';
    touch($file);
    
    echo "✅ File timestamp updated\n";
    echo "Last modified: " . date('Y-m-d H:i:s', filemtime($file)) . "\n";
}

echo "\n";
echo "If search still doesn't work, restart PHP via cPanel or SSH\n";
?>