Re: PHP42/Zend update needed for Apache 2.0.31

2002-02-01 Thread David Ford

These are the steps I take to build it

rm -rf php
cvs co php4
cd php4
cvs co Zend TSRM
cd ..
./buildconf
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs --enable-safe-mode \
--with-openssl=/usr/src/openssl-0.9.6c/ --enable-magic-quotes --with-zlib \
--with-bz2 --enable-calendar --enable-gd-native-ttf --with-ttf \
--with-imap=/usr/src/imap-2001a.RELEASE-CANDIDATE.4/ --with-mysql=no \
--with-imap-ssl --enable-mailparse --with-pgsql --enable-trans-sid \
--enable-shmop --with-snmp=shared --enable-ucd-snmp-hack --enable-sysvsem \
--enable-sysvshm --enable-memory-limit \
--with-freetype-dir=/usr/local/include/freetype1/ --with-jpeg-dir=shared \
--with-png-dir=shared --with-xpm-dir=shared --with-gd-dir=shared \
--with-gd \
LIBS=-ljpeg -lpng \
LDFLAGS=-L/usr/X11R6/lib -L/usr/local/lib -L/usr/local/ssl/lib \
CFLAGS=$CFLAGS -pipe -g -I/usr/local/include CPPFLAGS=$CFLAGS
make -j2 LDFLAGS=-L/usr/local/ssl/lib

David

Justin Erenkrantz wrote:

On Fri, Feb 01, 2002 at 01:28:50PM -0500, David Ford wrote:

I can build php fine (did you do the php/Zend and php/TSRM 
checkout/update?), I just haven't had much luck in the past two weeks 
getting apache to startup with php installed.  Nuttin' but segfaults Jim.


Yeah, I have those dirs.  You can run buildconf and configure and
it produces all of the relevant Makefiles?  Odd, because it isn't
doing that here.  -- justin






Re: PHP42/Zend update needed for Apache 2.0.31

2002-02-01 Thread David Ford

I can build php fine (did you do the php/Zend and php/TSRM 
checkout/update?), I just haven't had much luck in the past two weeks 
getting apache to startup with php installed.  Nuttin' but segfaults Jim.

David

Justin Erenkrantz wrote:

On Thu, Jan 31, 2002 at 04:15:38PM -0500, David Ford wrote:

Apache 2.0.31 got tagged this evening, the php/zend code has been out of
sync with it for a bit now.

Would anyone mind chit chatting and getting the appropriate code
updated?  :)


FWIW, I think DougM has made the appropriate input filtering changes
and committed them to PHP's CVS repository almost immediately after
my changes.  So, I'm not really sure what could be wrong.

I can't be of any help since it seems that PHP's HEAD is busted.
configure isn't producing correct Makefiles.  I looked at their
commit logs yesterday and a commit made a few days ago changed the
configure.in file (revision 1.295) and removed all generation of the
top-level Makefiles among many others Makefiles (incl. sapi).

So, I'm not even sure how you can even build their code in its
current state.  =(  Doug or other PHP people have any clue
here?  Is something busted in PHP land or is buildconf no longer
sufficient to generate the PHP configure scripts?  -- justin






Re: PHP42/Zend update needed for Apache 2.0.31

2002-02-01 Thread Justin Erenkrantz

On Fri, Feb 01, 2002 at 01:28:50PM -0500, David Ford wrote:
 I can build php fine (did you do the php/Zend and php/TSRM 
 checkout/update?), I just haven't had much luck in the past two weeks 
 getting apache to startup with php installed.  Nuttin' but segfaults Jim.

Yeah, I have those dirs.  You can run buildconf and configure and
it produces all of the relevant Makefiles?  Odd, because it isn't
doing that here.  -- justin




Re: PHP42/Zend update needed for Apache 2.0.31

2002-01-31 Thread Justin Erenkrantz

On Thu, Jan 31, 2002 at 04:15:38PM -0500, David Ford wrote:
 Apache 2.0.31 got tagged this evening, the php/zend code has been out of
 sync with it for a bit now.
 
 Would anyone mind chit chatting and getting the appropriate code
 updated?  :)

FWIW, I think DougM has made the appropriate input filtering changes
and committed them to PHP's CVS repository almost immediately after
my changes.  So, I'm not really sure what could be wrong.

I can't be of any help since it seems that PHP's HEAD is busted.
configure isn't producing correct Makefiles.  I looked at their
commit logs yesterday and a commit made a few days ago changed the
configure.in file (revision 1.295) and removed all generation of the
top-level Makefiles among many others Makefiles (incl. sapi).

So, I'm not even sure how you can even build their code in its
current state.  =(  Doug or other PHP people have any clue
here?  Is something busted in PHP land or is buildconf no longer
sufficient to generate the PHP configure scripts?  -- justin




PHP42/Zend update needed for Apache 2.0.31

2002-01-30 Thread David Ford

Apache 2.0.31 got tagged this evening, the php/zend code has been out of 
sync with it for a bit now.

Would anyone mind chit chatting and getting the appropriate code 
updated?  :)

I'd like to help, but I'm rather new to the code.  If I'm speaking to 
the wrong people, please let me know.

Apache cores on startup here, I suspect that 0x0 is to blame.

#0  0x402c613f in zend_register_functions (functions=0x404cdc00,
function_table=0x0, type=1, tsrm_ls=0x8136da8) at zend_API.c:1033
1033target_function_table = CG(function_table);
(gdb) bt
#0  0x402c613f in zend_register_functions (functions=0x404cdc00,
function_table=0x0, type=1, tsrm_ls=0x8136da8) at zend_API.c:1033
#1  0x402c63aa in zend_register_module (module=0x404cdcc0) at 
zend_API.c:1099
#2  0x402c60a2 in zend_startup_module (module=0x404cdcc0) at zend_API.c:1010
#3  0x402d3965 in php_startup_extensions (ptr=0x404cc810, count=18)
at main.c:782
#4  0x402e0a93 in php_startup_internal_extensions () at 
internal_functions.c:80
#5  0x402d3f68 in php_module_startup (sf=0x404c8d80) at main.c:939
#6  0x402d0e65 in php_apache_server_startup (pconf=0x80b3bf8, 
plog=0x80e9cd0,
ptemp=0x80ebcd8, s=0x80b6490) at sapi_apache2.c:428
#7  0x0807b6ff in ap_run_post_config (pconf=0x80b3bf8, plog=0x80e9cd0,
ptemp=0x80ebcd8, s=0x80b6490) at config.c:124
#8  0x0807f872 in main (argc=1, argv=0xb634) at main.c:453

Thank you,
David




smime.p7s
Description: S/MIME Cryptographic Signature