php4...

Melvyn Sopacua freebsd-questions at webteckies.org
Sun Nov 30 13:01:39 PST 2003


On Sunday 30 November 2003 21:39, Gary Kline wrote:


>    FUDforum can utilize either MySQL or PosgreSQL database to store it's
>    data, unfortunately, your PHP does not have support for either one.
>    Please install or load the appropriate database extension and then
>    re-run the install script.

From the Makefile:

# There are many ways to select which extensions you want to enable, either
# in interactive mode or in batch mode.
#
# By default, the enabled extensions are: CTYPE, MYSQL, OVERLOAD, PCRE, POSIX,
# SESSION, TOKENIZER, XML and ZLIB. This behaviour can be changed overriding
# the PHP4_OPTIONS variable (e.g. PHP4_OPTIONS="EXT1 EXT2 EXT3").
#
# Another way is to use the WITH_<EXT> and WITHOUT_<EXT> knobs, for additional
# and default extensions respectively (implies batch mode).
#
# The last way reads an "extension" file, located in ~/php4_options (the
# location is overridable by the PHP4_OPTFILE variable). You may find an
# example in scripts/php4_options (interactive mode only).

If you make sure that no 'WITH_*' variables are set (check MAKE_ARGS in /usr/
local/etc/pkgtools.conf if you're using portupgrade and/or /etc/make.conf) 
then attached file, placed as /root/php4_options will get you a php 
installation, that will most probably forfill your needs.

You will get a screen (if you don't, then there's still a WITH_* variable 
defined somewhere or the variable 'BATCH') which allows you to add/delete 
modules, the same way that /stand/sysinstall does it.

Adjust as necessary. After you're done installing, the actual file (ie: with 
the changes you made) now resides in:
/usr/ports/lang/php4/scripts/php4_options

Copy that over to /root/php4_options and the next time you upgrade/install the 
dialog will contain your defaults and you can just select 'OK'.
-- 
Melvyn

=======================================================
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003     root at sarevok.webteckies.org:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
=======================================================
-------------- next part --------------
WITH_BCMATH=OFF
WITH_BZIP2=ON
WITH_CALENDAR=ON
WITH_CDB=OFF
WITH_CRACK=OFF
WITH_CTYPE=ON
WITH_CURL=ON
WITH_DB4=OFF
WITH_DBASE=OFF
WITH_DBX=OFF
WITH_DOMXML=ON
WITH_DOMXSLT=ON
WITH_EXIF=ON
WITH_FILEPRO=OFF
WITH_FRIBIDI=OFF
WITH_FTP=ON
WITH_GD=ON
WITH_GDBM=OFF
WITH_GETTEXT=ON
WITH_GMP=OFF
WITH_HYPERWAVE=OFF
WITH_ICONV=ON
WITH_IMAP=OFF
WITH_INIFILE=ON
WITH_INTERBASE=OFF
WITH_MBSTRING=ON
WITH_MCAL=OFF
WITH_MCVE=OFF
WITH_MCRYPT=ON
WITH_MHASH=ON
WITH_MIME=ON
WITH_MING=ON
WITH_MNOGOSEARCH=OFF
WITH_MYSQL=ON
WITH_NCURSES=ON
WITH_OPENLDAP=ON
WITH_OPENSSL=ON
WITH_ORACLE=OFF
WITH_OVERLOAD=ON
WITH_PCNTL=ON
WITH_PCRE=ON
WITH_PDFLIB=ON
WITH_POSIX=ON
WITH_POSTGRESQL=OFF
WITH_PSPELL=OFF
WITH_READLINE=OFF
WITH_RECODE=OFF
WITH_SESSION=ON
WITH_SHMOP=OFF
WITH_SNMP=OFF
WITH_SOCKETS=ON
WITH_SYBASEDB=OFF
WITH_SYBASECT=OFF
WITH_SYSVSEM=OFF
WITH_SYSVSHM=OFF
WITH_TOKENIZER=ON
WITH_UNIXODBC=OFF
WITH_WDDX=OFF
WITH_XML=ON
WITH_XMLRPC=ON
WITH_XSLT=OFF
WITH_YAZ=OFF
WITH_YP=OFF
WITH_ZIP=ON
WITH_ZLIB=ON
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031130/eabc2bb6/attachment.bin


More information about the freebsd-questions mailing list