729583581c
In the optimize_level_5_everything() function, two instances of $TOTAL_RAM_MB (uppercase, undefined) were being passed to functions instead of $total_ram_mb (lowercase, locally defined from server capacity). This would cause the functions to receive empty values, leading to calculation failures or hangs. Fixed: - Line 2675: calculate_server_capacity call - Line 2756: calculate_optimal_php_settings_intelligent call The variable $total_ram_mb is correctly defined on line 2650 and should be used throughout the function.