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



Re: Installing customized mod_php4 port

2003-01-28 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Just run 'make' from the mod_php4 directory. You set all those options
interactively.

# Adam


 (01.28.2003 @ 0253 PST): Andreas Pauley said, in 1.0K: 
 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
 
 end of Installing customized mod_php4 port from Andreas Pauley 


- --
Adam Weinberger
vectors.cx[EMAIL PROTECTED]
FreeBSD.org   [EMAIL PROTECTED]
Bayer Berkeley[EMAIL PROTECTED]
#vim:set ts=8: 8-char tabs prevent tooth decay.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+NmLZo8KM2ULHQ/0RApsfAJ9IEdcfbhaNlAErR9RxIN8ikQ9BaACeLGnE
piPoeOHtjMfWUdC5ZJCzuaY=
=te8l
-END PGP SIGNATURE-

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



Re: Installing customized mod_php4 port

2003-01-28 Thread Stijn Hoop
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

-- 
An adult is a child who has more ethics and morals, that's all.
-- Shigeru Miyamoto



msg16976/pgp0.pgp
Description: PGP signature