From owner-freebsd-questions@FreeBSD.ORG Sat Sep 10 06:50:52 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDAF416A41F for ; Sat, 10 Sep 2005 06:50:52 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E3C243D46 for ; Sat, 10 Sep 2005 06:50:52 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 28539 invoked from network); 10 Sep 2005 16:50:51 +1000 Received: from 203-166-227-62.dyn.iinet.net.au (HELO ?192.168.13.3?) (203.166.227.62) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 10 Sep 2005 16:50:51 +1000 Message-ID: <43228247.5050107@meijome.net> Date: Sat, 10 Sep 2005 16:50:47 +1000 From: Norberto Meijome User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vizion , FreeBSD Questions References: <200509092200.18099.vizion@vizion.occoxmail.com> In-Reply-To: <200509092200.18099.vizion@vizion.occoxmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Build config of php X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2005 06:50:52 -0000 Vizion wrote: > Hi > Configuration of php > > Why is the build configured, by default, to give --disable-all? > There seems to be no option to change this hence phpinfo() shows disable which > (I am told) leaves out standard defaults which are normally individually > excluded. > Is there any reason NOt to modify the Makefile by removing that line? > > > CONFIGURE_ARGS= --enable-versioning \ > --enable-memory-limit \ > --with-layout=GNU \ > --with-config-file-scan-dir=${PREFIX}/etc/php \ > --disable-all \ > --enable-libxml \ > --with-libxml-dir=${LOCALBASE} \ > --enable-spl > David hi Vizion, I don't know for sure about the disable-all, but I get the impression it's to tell php Not to build all the extensions into the php itself. which is fine, because it's far better to use the lang/php4-extensions/ port to choose what other bits you want. I never had to edit a php Makefile in Fbsd. Also, if you want to avoid having to choose by hand what you really want( or have it preconfigured so all you have to do is press OK, then use something like /usr/local/etc/pkgtools.conf which will be read by portinstall (sysutils/port-maintenance-tools/) my relevant sections for my servers are: --- 'php4-*' => [ 'WITH_APACHE2=true', 'WITHOUT_DEBUG=true', 'WITH_BCMATH=true', 'WITH_BZ2=true', 'WITHOUT_CALENDAR=true', 'WITH_CRACK=true', 'WITH_CTYPE=true', 'WITHOUT_CURL=true', 'WITH_DBA=true', 'WITHOUT_DBASE=true', 'WITHOUT_DBX=true', 'WITHOUT_DIO=true', 'WITHOUT_DOMXML=true', 'WITHOUT_EXIF=true', 'WITHOUT_FILEINFO=true', 'WITHOUT_FILEPRO=true', 'WITHOUT_FRIBIDI=true', 'WITH_FTP=true', 'WITH_GD=true', 'WITHOUT_GETTEXT=true', 'WITHOUT_GMP=true', 'WITHOUT_ICONV=true', 'WITHOUT_IMAGICK=true', 'WITHOUT_IMAP=true', 'WITHOUT_INTERBASE=true', 'WITHOUT_LDAP=true', 'WITH_MBSTRING=true', 'WITHOUT_MCAL=true', 'WITH_MCRYPT=true', 'WITHOUT_MCVE=true', 'WITH_MHASH=true', 'WITHOUT_MING=true', 'WITHOUT_MNOGOSEARCH=true', 'WITHOUT_MSSQL=true', 'WITH_MYSQL=true', 'WITHOUT_NCURSES=true', 'WITHOUT_ODBC=true', 'WITHOUT_OPENSSL=true', 'WITHOUT_ORACLE=true', 'WITH_OVERLOAD=true', 'WITHOUT_PANDA=true', 'WITHOUT_PCNTL=true', 'WITH_PCRE=true', 'WITHOUT_PDF=true', 'WITHOUT_PGSQL=true', 'WITH_POSIX=true', 'WITHOUT_PSPELL=true', 'WITHOUT_READLINE=true', 'WITHOUT_RECODE=true', 'WITH_SESSION=true', 'WITH_SHMOP=true', 'WITHOUT_SNMP=true', 'WITHOUT_SOCKETS=true', 'WITHOUT_SYBASE_CT=true', 'WITH_SYSVMSG=true', 'WITH_SYSVSEM=true', 'WITH_SYSVSHM=true', 'WITH_TOKENIZER=true', 'WITHOUT_WDDX=true', 'WITH_XML=true', 'WITHOUT_XMLRPC=true', 'WITH_XSLT=true', 'WITHOUT_YAZ=true', 'WITHOUT_YP=true', 'WITH_ZIP=true', 'WITH_ZLIB=true', ], 'php4-dba-*' => [ 'WITH_CDB=true', 'WITH_DB4=true', 'WITH_GDBM=true', 'WITH_INIFILE=true', 'WITH_FLATFILE=true', ], 'php4-gd-*' => [ 'WITH_T1LIB=true', 'WITH_TRUETYPE=true', 'WITHOUT_JIS=true', 'WITH_LZW=true', ], 'php4-mbstring-*' => [ 'WITH_REGEX=true', ], --- hope that helps. Beto