Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Nov 2003 07:58:59 +0000
From:      Jez Hancock <jez.hancock@munk.nu>
To:        freebsd-questions@freebsd.org
Subject:   Re: php4-4.3.4 port with apache-2.0.48_1 instead of apache-1.3.29_1
Message-ID:  <20031129075859.GB26335@users.munk.nu>
In-Reply-To: <3FC84DDA.4000502@princeton.edu>
References:  <3FC84DDA.4000502@princeton.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 29, 2003 at 02:42:18AM -0500, Seamus Abshere wrote:
> I would like to use the php4-4.3.4 port with the apache-2.0.48_1 port, 
> but php4-4.3.4 lists apache-1.3.29_1 as a dependency.
Try building mod_php4 with the flag -DWITH_APACHE2:

cd /usr/ports/www/mod_php4/ && make clean install -DWITH_APACHE2

<snip>
> I would still like the convenience of updating both 
> ports with a cron job.
If you use portupgrade you can specify that the mod_php port upgrades should 
include the relevant apache2 flag (-DWITH_APACHE2).  See the
pkgtools.conf manpage for more info after installing portupgrade from
the ports.

As an example my pkgtools.conf file includes:


	'www/mod_php4' => [
		'WITH_DOMXML=ON',
		'WITH_EXIF=ON',
		'WITH_FTP=ON',
		'WITH_GD=ON',
		'WITH_IMAP=ON',
		'WITH_MYSQL=ON',
		'WITH_OPENSSL=ON',
		'WITH_PCRE=ON',
		'WITH_POSIX=ON',
		'WITH_SESSION=ON',
		'WITH_XML=ON',
		'WITH_XMLRPC=ON',
		'WITH_ZLIB=ON',
	],

indicating that mod_php4 should be upgraded using those build options.
IN your case you'd just want to add 'WITH_APACHE2' to make sure it gets
built for apache2.

HTH.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031129075859.GB26335>