Re: Re: PHP 4.3.0 released

From: Date: Sun, 29 Dec 2002 06:44:05 +0000
Subject: Re: Re: PHP 4.3.0 released
References: 1 2 3 4 5  Groups: php.dev php.general 
Request: Send a blank email to php-dev+get-92944@lists.php.net to get a copy of this message
At 11:29 AM 12/28/02 -0700, The Doctor wrote:
On Sat, Dec 28, 2002 at 04:04:14AM -0700, Rick Widmer wrote: At 08:40 PM 12/27/02 -0700, The Doctor wrote: ./configure --with-apache=../apache --with-mysql --with-pgsql=/usr --enable-cli --enable-calendar --enable-debug=no --with-config-file=/web/conf --with-PEAR --with-jpeg-dir=/usr/local --with-phg-dir=/usr/local --with-zlib-dir=/usr/local --with-gd=/usr --enable-gd-native-ttf --with-freetype=/usr/include/freetype2 --with-pdflib=/usr/local --with-ming --enable-magic-quotes --with-mm=../mm --with-pspell
vs.
configure --prefix=/usr/contrib --localstatedir=/var --infodir=/usr/share/info --mandir=/usr/share/man --with-low-memory --with-elf --with-x --with-mysql --with-zlib --enable-track-vars --enable-debug --enable-versioning
--with-config-file-path=/usr/local/lib
--with-iconv=/usr --with-openssl=/usr/contrib --enable-ftp
--with-gd=/usr
--enable-imap --with-bz2 --with-apache=/usr/source/apache_1.3.27_nonSSL/ --with-pgsql=/usr/contrib/pgsql --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --with-xpm-dir=/usr/X11/lib
What I have that you do not: cli - create command line interface executable program. calendar - fancy tricks with dates. pear - a library of handy functions gd-native-ttf pdflib - create pdf files ming - create swf files magic-quotes - eliminates a lot of addslashes() mm - I'm not sure pspell - spelling checker I don't think anything I added would make any difference. Things that look wrong to me: --with-low-memory, --with-elf and --with-x are not listed as valid options in ./configure --help, and look scary to me. Get rid of them. You used enable-zlib, but the correct statement is with-zlib or with-zlib-dir. --enable-track-vars - is enabled by default and ignored for a couple of php versions now. --enable-versioning - is only needed when you want to run more than one PHP module version at the same time. The next thing to try... xpm-dir, bz2, imap, iconv are the modules you are using that I am not. Try compiling without them and see what happens. I don't see where any of these _should_ affect things, but I've gotten in trouble before using options I did not need... --prefix - --with-apache specifies where the resulting files are placed, so prefix is not relevant to static install. localstatedir, infodir, mandir - not relevant to a static install because a php module does not use any of the directories specified by these. Rick

« previous php.dev (#92944) next »