Click to See Complete Forum and Search --> : The perfect configuration ...
dalecosp
07-30-2003, 06:29 PM
I've found that some stuff was apparently screwed up in my last install. For example, phpinfo()shows me as configured both --without-gd and --with-gd; seems kinda freaky. Anyway, imagerotate() is not answering the call of duty...
I've decided to grab the latest stable and install from source (FBSD ports is behind a couple dot releases AFAIK. ... :( )
So, I'll have a bright, shiny, new dot-configure file ... given this opportunity, what would you put into it? What's the ultimate configuration ... ?
goldbug
07-30-2003, 08:14 PM
By no means would I consider it even remotely near "ultimate", but this is the configure script I use when building on my FBSD box.
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql \
--enable-bcmath \
--enable-calendar \
--enable-magic-quotes \
--with-pear \
--enable-track-vars \
--enable-versioning \
--with-zlib \
--enable-safe-mode \
--enable-trans-sid \
--with-gd \
--enable-gd-native-ttf \
--enable-exif \
--with-expat-dir=/usr/local \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-freetype-dir=/usr/local \
--with-ttf=/usr/local \
--enable-sockets \
--with-pspell=/usr/local \
--with-mcrypt=/usr/local \
--with-mssql=/usr/local \
--with-openssl=/usr/local
Some of it's probably redundant and others unnecessary, but hey, it works for me.
epimeth
07-30-2003, 10:20 PM
this is what we have at my office...
./configure \
--enable-cli \
--with-pgsql \
--with-mysql=/usr/local/mysql \
--with-apxs=/usr/local/apache/bin/apxs \
--with-zlib \
--with-gd=/usr/local \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--enable-track-vars=yes \
--with-mcrypt=/usr/local/bin/mcrypt \
--with-curl=/usr/lib \
--with-pfpro=/usr/lib
tho you probably won't need pfpro and mcrypt...
PHP Builder
Copyright Internet.com Inc. All Rights Reserved.