Fix Zend Optimizer for PHP 5.4 with NGINX

I am able to load php 5.4 on my nginx server, but when I do, I get errors in the php log about the Zend Optimizer being the wrong version and since this is the only error I get, I suspect this is what is causing WordPress not to work properly.

WordPress works with:
[]Apache & PHP 5.2
]Apache & PHP 5.3
[]Apache & PHP 5.4
]Nginx & PHP 5.2

But it does not work with Nginx & PHP 5.3 or 5.4 while other PHP pages do.

So here are the lines from php.log:
Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS
Zend Optimizer requires Zend Engine API version 220060519.
The Zend Engine API version 220100525 which is installed, is newer.
Contact Zend Technologies at for a later version of Zend Optimizer.

Zend Optimizer does not exist for PHP 5.3 and later. It was replaced with Zend Guard, but that extension cannot load any files which were encoded for Zend Optimizer, and vice versa, so the two extensions are effectively incompatible with one another.

If you’re having issues with WordPress with Zend Optimizer not installed, it’s possible that you have a WP theme or plugin that requires that extension. You will need to replace or upgrade that theme/plugin to use PHP 5.3 or later.