Build config of php

Vizion vizion at vizion.occoxmail.com
Sat Sep 10 08:24:11 PDT 2005


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.


More information about the freebsd-questions mailing list