home Anil Madhavapeddy, Professor of Planetary Computing  

Streamlining PHP on OpenBSD / Jun 2002

I've committed a big improvement to the PHP port on OpenBSD, by switching from a complex set of FLAVOR tags over to a set of independently installing "multi packages".

The first thing I did was to import the core PHP without any extensions.

commit 15dc0f67ef5fd0cae9fb841e608b90b9f51c71ca
Author: avsm <avsm@openbsd.org>
Date:   Mon Jun 24 19:23:41 2002 +0000

    Import php4-core-4.2.1
    
    Installs the barebones php4 with only the gettext, iconv and recode
    modules compiled in.
    
    All of the other modules have to be installed as shared modules on
    top of this.
    
    In addition to the Apache module, this package also includes a php
    command-line binary which can be used in shell scripts.  The binary
    uses the same /var/www/conf/php.ini file as the Apache module.
    
    There is some non-i386 breakage at the moment (notably macppc).

After that, I imported in the extensions system which has many more dependencies, and that generates the multi packages.

commit a5c226010f93bd3ce70667b801d6518354f44914
Author: avsm <avsm@openbsd.org>
Date:   Mon Jun 24 19:27:46 2002 +0000

    Import php4-4.2.1 extensions
    
    This module generates a bunch of php4 extensions as shared modules,
    and seperates them out into multiple packages.
    
    End result is that you can pkg_add individual modules now without
    getting into the mess of flavors that we've had in the past.

This should make the use of pkg_add for PHP much simpler for new users. Any problems, please file a bug report or let me know.

# 24th Jun 2002   iconnotes openbsd packaging php