From owner-freebsd-questions@FreeBSD.ORG Sat Sep 10 15:24:11 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 C7DB816A41F for ; Sat, 10 Sep 2005 15:24:11 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from lakecmmtao06.coxmail.com (lakecmmtao06.coxmail.com [68.99.120.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65AF743D46 for ; Sat, 10 Sep 2005 15:24:09 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from dns1 ([64.58.171.82]) by lakecmmtao06.coxmail.com (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20050910152408.XIVZ24491.lakecmmtao06.coxmail.com@dns1>; Sat, 10 Sep 2005 11:24:08 -0400 From: Vizion To: Norberto Meijome Date: Sat, 10 Sep 2005 08:19:49 -0700 User-Agent: KMail/1.8 References: <200509092200.18099.vizion@vizion.occoxmail.com> <43228247.5050107@meijome.net> In-Reply-To: <43228247.5050107@meijome.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509100819.49584.vizion@vizion.occoxmail.com> Cc: FreeBSD Questions 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 15:24:11 -0000 On Friday 09 September 2005 23:50, the author Norberto Meijome contributed to the dialogue on- Re: Build config of php: >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. Ir does -- and thank you -- It looks it would be a good way for me to go I am using php5 but I guess the system remains the same. Thank you again david >Beto -- 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after completing engineroom refit.