From owner-freebsd-questions@FreeBSD.ORG Fri Sep 9 18:03:51 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 3221D16A41F for ; Fri, 9 Sep 2005 18:03:51 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from lakecmmtao05.coxmail.com (lakecmmtao05.coxmail.com [68.99.120.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DD6C43D4C for ; Fri, 9 Sep 2005 18:03:50 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from dns1 ([64.58.171.82]) by lakecmmtao05.coxmail.com (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20050909180349.WJSM2425.lakecmmtao05.coxmail.com@dns1> for ; Fri, 9 Sep 2005 14:03:49 -0400 From: Vizion To: freebsd-questions@freebsd.org Date: Fri, 9 Sep 2005 10:59:33 -0700 User-Agent: KMail/1.8 References: <200509090959.40296.vizion@vizion.occoxmail.com> In-Reply-To: <200509090959.40296.vizion@vizion.occoxmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509091059.33867.vizion@vizion.occoxmail.com> Subject: Re: php compile options 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: Fri, 09 Sep 2005 18:03:51 -0000 On Friday 09 September 2005 09:59, the author Vizion contributed to the dialogue on- php compile options: >Hi > >Some compile configuration questions: > >1. When php5 is compiled from ports I understand a file is generated to hold >the compiled options. On my system there is a file with the following data: > >dns1# cat /var/db/ports/php5/options ># This file is auto-generated by 'make config'. ># No user-servicable parts inside! ># Options for php5-5.0.5 >_OPTIONS_READ=php5-5.0.5 >WITH_APACHE2=true >WITHOUT_DEBUG=true >WITH_MULTIBYTE=true >WITH_IPV6=true > >Am I correct in saying that the options from this file are read by the >compiler at compile time? > >If not this file which file? > >2. Options expressed on the command line for php are normally in lower case. >If I place them in this file should they be capitalized or does that not >matter to the compiler? > >3. Is there a complete list of options with the distribution? Just to add to the questions Command line compile options: It looks as though there has been some work (thank you) done to build an options dialogue: dns1# make config options generates a screen dialogue with options: Use apache 2.x instead of apache 1.3. Enable debug Enable zend multibyte support Enable ipv6 support However as this fialogue foes not contain the full set of php compile options how does one choose to compile with additional options? I tried using the following from the command line (as per PHP & MySQL by Luke welling & Laura Thoson) giving an illegal option error: dns1# make config --with-mysqli=/usr/local/bin/mysql_config --with-apache=/usr/local/etc/apache2 --with-gd --with-jpeg-dir=/usr/local/lib --with-tiff-dir=/usr/local/lib make: illegal option -- - Thanks in advance for help -- 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.