I am not sure about ZendOptimizerPlus, but you could try latest eAccelerator(warning: seems like the eAccelerator you can tick in LiteSpeed web console when compiling PHP is old!).
I am using eAccelerator with PHP 5.4.15 without any issues.

Here's the way I set it up(nonopensource LiteSpeed installed with default settings)