Zend Optimizer & EasyApache3 w/ PHP 5 & Apache 2

Posted on March 7th, 2008 by Gabriel Harper

After upgrading to PHP 5.2.5 and Apache 2.6.9 using the new easyapache3 scripts (WHM > Software > Apache Update) I was still left without Zend Optimizer. WHM and easyapache3 installed Zend Optimizer (located in /usr/local/Zend/lib/Optimizer-3.3.0/) but after some mucking about I made the mistake of running /scripts/installzendopt – previously used to install Zend Optimizer with a step-by-step installer.

When I discovered my php.ini file had disappeared and all that was left was a symlink from /usr/local/lib/php.ini to /usr/local/Zend/etc/php.ini (which did not exist…), it seemed that copying /usr/local/Zend/etc/php.ini-zend_optimizer.bak to /usr/local/Zend/etc/php.ini and simply editing the versions under [Zend] (to xxxx-3.3.0 in this case) Zend was up and running with a quick `service httpd restart`. Seems EasyApache3 isn’t without it’s quirks, but overall the jump from PHP 4 was pretty seamless and EasyApache3 via WHM still let me tweak all of the individual settings.

It’s the htaccess.conf maintenance that I fear now.

Leave a Reply


Intavant          Servermind

©2020 Gabriel Harper. Do not use, copy or re-publish any part of this blog.