| Summary: | lang/php4 segfaults with both xslt and ZendOptimizer loaded | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Martin Dragun <dragun> |
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-i386->freebsd-ports-bugs Reclassify Responsible Changed From-To: freebsd-ports-bugs->ale Disambiguate and assign. I can reproduce this behavior with pspell (using the php4-extensions-1.0
port to configure and build a pspell.so) and Zend Optimizer 2.5.10 on
FreeBSD 4.11.
I have a workaround in my case, after working with the zend group at
some length.
When I changed my Makefile in /usr/ports/lang/php4 to from
this (now commented) :
#CONFIGURE_ARGS= --enable-versioning \
# --enable-memory-limit \
# --with-layout=GNU \
# --with-config-file-scan-dir=${PREFIX}/etc/php \
# --disable-all
to this:
CONFIGURE_ARGS= --enable-memory-limit \
--with-layout=GNU \
--with-config-file-scan-dir=${PREFIX}/etc/php \
--with-pspell \
--disable-all
and then did a
make deinstall; make install clean
my problems were resolved. I now have a working server with both Zend
Optimizer and pspell on FreeBSD 4.11. I realize that this might not be
possible with xslt and certainly not to the modular design the port
maintainer is aspiring too, but it worked for me.
-Chuck Burkins
State Changed From-To: open->feedback Is this still an issue? Can you reproduce it on a recently updated system? State Changed From-To: feedback->closed No feedback on recent versions. |
PHP module causes segmentation fault when trying to start apache. This only happens if both ZendOptimizer and xslt modules are loaded in php.ini. Each one of these modules works fine if loaded without the other one. The same happens if trying to run the cli version of php from command line with both modules loaded [root@dw2]-[/root]# uname -rs FreeBSD 5.3-STABLE [root@dw2]-[/root]# php -v PHP 4.3.10 (cli) (built: Jan 3 2005 20:58:49) Copyright (c) 1997-2004 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.6, Copyright (c) 2003-2004, by Zend Technologies with Zend Optimizer v2.5.7, Copyright (c) 1998-2004, by Zend Technologies Segmentation fault (core dumped)