ZendOptimzer is free which runs the files encoded by the Zend Encoder and Zend SafeGuard Suite. It can also speed up the php application by its caching feature.
Installing the ZendOptimizer
You can make use of the port in FreeBSD to install it. Ssh your server as root user and add the pack using
# pkg_add -r ZendOptimizer
If its already added you can proceed with
make install clean
After installing you need to edit your php.ini and add the following lines (below lines are just an example you need to add the lines which displays after the make install clean ).
Restart your apache or nginx web server to load with the new settings.
NOTE : If you are getting “Segmentation Fault (Core Dumps)” while executing php -v . You need to remove all the zend line and just have to add the two lines below to fix the problem.
Change the paths according to your installed locations.