Re: Installing customized mod_php4 port

2003-01-29 Thread Andreas Pauley
On Tue, 28 Jan 2003, Stijn Hoop wrote:

 On Tue, Jan 28, 2003 at 03:00:41AM -0800, Adam Weinberger wrote:
  Just run 'make' from the mod_php4 directory. You set all those options
  interactively.
 
 Or for the noninteractive version:
 
 # make PHP4_OPTIONS='\option1\ \option2\ ...' BATCH=yes install
 
 The quotes  backslashes are necessary AFAIK. For a list of option names
 consult scripts/configure.php.
 
 HTH,
 
 --Stijn

Thanks people, I have a working version of PHP now.

I did run into some problems with the SSL options, however.
# apachectl startssl failed with an error message something like 
undefined reference to ssl_onlyonceinit.
This is only a vague memory of the error message, not a word for word 
transcription, unfortunately.

I solved the problem by deinstalling the port and recompiling it without 
any of the ssl options selected.

Regards,
Andreas.

-- 
Only two things are infinite:
the universe and human stupidity,
and I'm not so sure about the former.
-- Albert Einstein



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Installing customized mod_php4 port

2003-01-28 Thread Andreas Pauley
Hi,

I would like to know what the preferred way is for installing the mod_php4 
port (4.2.3) with your own customized options enabled.
This is on FreeBSD 4.7, in conjunction with apache+mod_ssl-1.3.27+2.8.12.

I see the Makefile's CONFIGURE_ARGS specifically states --without-gd and 
--without-mysql.
Do I need to change this if I want those options enabled?

The Makefile also mentions PHP4_OPTIONS.
Is this something I can use to enable certain extra options (eg. IMAP 
support)?
Does the FreeBSD ports have something like flavors, as in OpenBSD?

The options I would like to enable are:
gdbm, imap, imap-ssl, mhash, mm, recode, pdflib, gd, jpeg, png, tiff, 
mcrypt, curl, mysql, postgresql.

Regards,
Andreas.

-- 
Only two things are infinite:
the universe and human stupidity,
and I'm not so sure about the former.
-- Albert Einstein



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message