Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2005 15:58:36 -0500
From:      John J Vaughan <vaughajj@jmu.edu>
To:        John J Vaughan <vaughajj@jmu.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Configuring mod_php4
Message-ID:  <E1647C25-6F13-11D9-8EBB-000A957957BC@jmu.edu>
In-Reply-To: <7FDA2041-6F08-11D9-8EBB-000A957957BC@jmu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail-65--469502753
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

To answer my own question, I used the php4-extensions port and selected 
what I needed.

#cd lang/php4-extensions
#make config
selected the extensions I wanted
#portinstall php4-extensions

-John



On Tuesday, January 25, 2005, at 02:37  PM, John J Vaughan wrote:

> I am trying to get mod_php4 loaded with the additional options -DEAPI 
> (I'm using phpMyAdmin) and --enable-calendar.  I read the makefile, 
> which didn't have any CONFIGURE_ARGS+=
>
> First I tried using portupgrade (I already have a running 5.3-RELEASE 
> w/ Apache1.3-modssl, mysql-4.1.9, and mod_php4 with standard config 
> args):
> So I forced an upgrade using the added options
> # portupgrade -fM '-DEAPI--enable-calendar' mod_php4
> That seemed to go smoothly.  Afterwards, I checked my httpd.conf and 
> started Apache.
>
> When I looked at phpinfo.php, only the following options were listed:
> './configure' '--enable-versioning' '--enable-memory-limit' 
> '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' 
> '--disable-all' '--with-regex=php' '--disable-cli' 
> '--with-apxs=/usr/local/sbin/apxs' '--disable-ipv6' 
> '--prefix=/usr/local' 'i386-portbld-freebsd5.3'
>
> So, then I tried it manually:
> Shutdown apache
> #cd /usr/ports/www/mod_php4
> #pkg_delete -f mod_php4
> #make -DEAPI--enable-calendar
> #make install
> Restarted Apache
>
> Still the same options listed in phpinfo.php.
>
> Thanks for your help.
> -John
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
>
>


John Vaughan
WIN Technical Coordinator
James Madison University
(E) vaughajj@jmu.edu
(W) 540.568.8774
(H) 540.652.0922
(M) 757.478.5398


--Apple-Mail-65--469502753
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed





--Apple-Mail-65--469502753--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1647C25-6F13-11D9-8EBB-000A957957BC>