[BlueOnyx:02427] zend optimizer

Brian Santee brian at visions-online.com
Thu Sep 17 12:23:35 -05 2009


I did a CMU of some old sites this week. One of them is running a php
dealer search program that needs zend optimizer for php installed. I have
done this several times in the past, but this time it seems to take down
the web server.

Download zend Optimizer - 32 bit linux version:

wget
http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz

uncompress files:

tar zxvf ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz

Locate ZendOptimizer.so according to php version: (5.1)

Add line to end of /etc/php.ini file

[Zend]
zend_extension=/home/zend/ZendOptimizer-3.3.9-linux-glibc23-i386/data/5_1_x_comp/ZendOptimizer.so

Restart Apache:
/etc/rc.d/init.d/httpd restart

At this point the webserver is no longer responding....

these are the tail of the error_log file:
[Thu Sep 17 11:59:36 2009] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Thu Sep 17 11:59:36 2009] [warn] No JkShmFile defined in httpd.conf.
Using default /etc/httpd/logs/jk-runtime-status
[Thu Sep 17 11:59:37 2009] [notice] Digest: generating secret for digest
authentication ...
[Thu Sep 17 11:59:37 2009] [notice] Digest: done
[Thu Sep 17 11:59:37 2009] [warn] No JkShmFile defined in httpd.conf.
Using default /etc/httpd/logs/jk-runtime-status
PHP Fatal error:  [ionCube Loader] The Loader must appear as the first
entry in the php.ini file in Unknown on line 0
[Thu Sep 17 12:00:25 2009] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Thu Sep 17 12:00:25 2009] [warn] No JkShmFile defined in httpd.conf.
Using default /etc/httpd/logs/jk-runtime-status
[Thu Sep 17 12:00:26 2009] [notice] Digest: generating secret for digest
authentication ...
[Thu Sep 17 12:00:26 2009] [notice] Digest: done
[Thu Sep 17 12:00:26 2009] [warn] No JkShmFile defined in httpd.conf.
Using default /etc/httpd/logs/jk-runtime-status
PHP Fatal error:  [ionCube Loader] The Loader must appear as the first
entry in the php.ini file in Unknown on line 0




More information about the Blueonyx mailing list