I just upgraded to MAMP Pro 2 and have noticed that they are no longer supporting Zend Optimizer due to Apache 64bit or something along those lines.
Anyways, I have a website that needs it and I have no idea of how to go about installing Zend Optimizer on MAMP 2 and just did a tutorial which made Apache break and stop working after I ran some command in terminal so I had to reinstall my MAMP set up.
I am currently running PHP 5.2.17.
Any help would be great :-)
Since your application also requires an old version of PHP, the easiest solution would be to install the previous version of MAMP 1.9 which includes PHP 5.2.17 and Zend Optimizer 3.3.9.
The older version of MAMP is 32-bit only but should still run fine under Lion/Mountain Lion (or at least I'm not aware of any obvious issues aside from not including 64-bit in the app bundle).