Re: php4...

From: Melvyn Sopacua (freebsd-questions_at_webteckies.org)
Date: 11/30/03

  • Next message: Melvyn Sopacua: "Re: php4..."
    To: Gary Kline <kline@thought.org>
    Date: Sun, 30 Nov 2003 22:01:29 +0100
    
    
    
    

    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@sarevok.webteckies.org:/usr/obj/usr/src/sys/
    SAREVOK_NOFW_DBG  i386
    =======================================================
    
    

    
    




  • Next message: Melvyn Sopacua: "Re: php4..."

    Relevant Pages