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";
?>