So, let me see if I have this correct. 
  
The problem may or may not be in nginx configurations or 
the problem may or may not be in apache configurtions or  
the problem may or may not be in php configuations or 
the problem may or may not be in phpseclib pathfinding configurations or 
the problem may or may not be in blesta configurations. 
  
Gee thanks. 
  
I know you guys have struggled with this issue just by looking at your ten million checks around the includes of these phpseclib files. Somebody isn't being one hundred about the underlying problem here.