Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Oct 2006 18:08:54 +0200
From:      "=?ISO-8859-1?Q?Andreas_Wider=F8e_Andersen?=" <wodfer@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   ZendOptimizer on FreeBSD 6.1 - Apache core dumps
Message-ID:  <23ed14b80610070908o6f0f0d70q3d441c6bcd739d26@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi,
We're about to purchase a software system that is encoded using Zend Guard
and therefore we need to install the ZendOptimizer on our FreeBSD 6.1 STABLE
server.

The ZendOptimizer package has been installed from ports (allthough manually
downloaded) and the needed text lines have been added to php.ini:

[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer="/usr/local/lib/php/20050922/Optimizer"
zend_extension_manager.optimizer_ts="/usr/local/lib/php/20050922/Optimizer_TS"
zend_extension="/usr/local/lib/php/20050922/ZendExtensionManager.so" [ THIS
IS THE LINE THAT CAUSES THE PROBLEMS ]
zend_extension_ts="/usr/local/lib/php/20050922/ZendExtensionManager_TS.so"

However, when starting Apache (1.3.37 and php 5.1.6) it core dumps and won't
start.

I have posted a message in the Zend forums days ago without a reply and now
it's getting urgent and I was hoping someone in here could provide us with
some help.

Here's the output from gdb:

Reading symbols from
/usr/local/lib/php/20050922/ZendExtensionManager.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/php/20050922/ZendExtensionManager.so
Reading symbols from /usr/local/lib/php/20050922/ctype.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/ctype.so
Reading symbols from /usr/local/lib/php/20050922/dom.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/dom.so
Reading symbols from /usr/local/lib/php/20050922/ftp.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/ftp.so
Reading symbols from /usr/lib/libssl.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libssl.so.4
Reading symbols from /lib/libcrypto.so.4...(no debugging symbols
found)...done.
Loaded symbols for /lib/libcrypto.so.4
Reading symbols from /usr/local/lib/php/20050922/iconv.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/iconv.so
Reading symbols from /usr/local/lib/php/20050922/mysql.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/mysql.so
Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.14...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/mysql/libmysqlclient.so.14
Reading symbols from /usr/local/lib/php/20050922/pcre.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/pcre.so
Reading symbols from /usr/local/lib/php/20050922/zlib.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/zlib.so
Reading symbols from /usr/local/lib/php/20050922/pdo.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/pdo.so
Reading symbols from /usr/local/lib/php/20050922/posix.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/posix.so
Reading symbols from /usr/local/lib/php/20050922/session.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/session.so
Reading symbols from /usr/local/lib/php/20050922/simplexml.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/simplexml.so
Reading symbols from /usr/local/lib/php/20050922/sqlite.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/sqlite.so
Reading symbols from /usr/local/lib/php/20050922/tokenizer.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/tokenizer.so
Reading symbols from /usr/local/lib/php/20050922/xml.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/xml.so
Reading symbols from /usr/local/lib/php/20050922/xmlreader.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/xmlreader.so
Reading symbols from /usr/local/lib/php/20050922/xmlwriter.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/xmlwriter.so
Reading symbols from /usr/local/lib/php/20050922/bz2.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/bz2.so
Reading symbols from /usr/lib/libbz2.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libbz2.so.2
Reading symbols from /usr/local/lib/php/20050922/openssl.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/openssl.so
Reading symbols from /usr/local/lib/php/20050922/mcrypt.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/mcrypt.so
Reading symbols from /usr/local/lib/libmcrypt.so.8...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libmcrypt.so.8
Reading symbols from /usr/local/lib/libltdl.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libltdl.so.4
Reading symbols from /usr/local/lib/php/20050922/mbstring.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/mbstring.so
Reading symbols from /usr/local/lib/php/20050922/gd.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/gd.so
Reading symbols from /usr/local/lib/libfreetype.so.9...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libfreetype.so.9
Reading symbols from /usr/local/lib/libpng.so.5...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libpng.so.5
Reading symbols from /usr/local/lib/libjpeg.so.9...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libjpeg.so.9
Reading symbols from
/usr/local/lib/php/20050922/Optimizer/php-5.1.x/ZendOptimizer.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20050922/Optimizer/php-5.1.x
/ZendOptimizer.so
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x2812ae57 in shmget () from /lib/libc.so.6
(gdb)

Any help greatly appreciated! Thanks!

Andreas



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?23ed14b80610070908o6f0f0d70q3d441c6bcd739d26>