php4-4.3.4 port with apache-2.0.48_1 instead of apache-1.3.29_1

2003-11-29 Thread Seamus Abshere
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.

I understand that this substitution is more complicated than simply 
not installing apache-1.3.29_1, because php has to be configured with 
different flags (--with-apxs2=/usr/local/apache2/bin/apxs, etc)(and 
other things), but I would still like the convenience of updating both 
ports with a cron job.

What can I do? Should I just install php manually?

Thank you,
Seamus Abshere
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php4-4.3.4 port with apache-2.0.48_1 instead of apache-1.3.29_1

2003-11-29 Thread Jez Hancock
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/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]