httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Ford <david+c...@blue-labs.org>
Subject Re: Ongoing 2.0.31 and php hiccups
Date Sun, 03 Feb 2002 23:19:11 GMT
Sure, here is what I do to get php to compile from square zero:

rm -rf php4
cvs co php4
cd php4
cvs co Zend TSRM
./buildconf
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
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"

su
make install

That is a bare bones php build with no options.  If you want options, I 
got options:

# --enable-safe-mode
# --enable-mailparse --enable-calendar
# --with-snmp=shared --enable-ucd-snmp-hack
# --with-openssl=/usr/src/openssl-0.9.6c/
# --with-imap=/usr/src/imap-2001a.RELEASE-CANDIDATE.4/
# --with-imap-ssl --with-pgsql --enable-trans-sid
# --with-mysql=no
# --enable-magic-quotes --with-zlib \
# --with-bz2 --enable-gd-native-ttf --with-ttf \
# --enable-shmop --enable-sysvsem \
# --enable-sysvshm --enable-memory-limit \
# --with-freetype-dir=/usr/local/include/freetype1/ \
# --with-gd --with-gd-dir=shared \
# --with-jpeg-dir=shared \
# --with-png-dir=shared --with-xpm-dir=shared \
# LIBS="-ljpeg -lpng" \

Add to your pleasing.  Note, --enable-mailparse causes a coredump in the 
original httpd parent.

David


Cliff Woolley wrote:

>On Sun, 3 Feb 2002, David Ford wrote:
>
>>Ok, has -anyone- gotten php and apache running together the last week?
>> If so, would you mind terribly if you posted the configure/make lines
>>please?  I'm getting kind of fidgity and needing to get it going :)
>> Apache by itself seems fine.
>>
>>I've gotten down to a barebones ./configure
>>--with-apxs2=/usr/local/apache2/bin/apxs for php and even that causes a
>>segfault just after startup.
>>
>
>
>You're doing better than me... I can't even get php4 to compile.  Tried
>for at least an hour last night with no luck.  It's always Makefile
>breakage... I guess I'm doing something wrong between the buildconf and
>configure stages.  If you can help me figure that out, I'll try to help
>figure the segfault out.  :)
>
>--Cliff
>
>--------------------------------------------------------------
>   Cliff Woolley
>   cliffwoolley@yahoo.com
>   Charlottesville, VA
>


Mime
View raw message