From owner-freebsd-questions@FreeBSD.ORG Tue Jan 25 19:42:03 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F153416A4CE for ; Tue, 25 Jan 2005 19:42:02 +0000 (GMT) Received: from mpdir5.jmu.edu (mpdir5.jmu.edu [134.126.12.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C2EE43D1D for ; Tue, 25 Jan 2005 19:42:02 +0000 (GMT) (envelope-from vaughajj@jmu.edu) Received: from jmu.edu (ip34-49.pc.jmu.edu [134.126.34.49]) by mpdir5.jmu.edu (MOS 3.5.6-GR) with ESMTP id BKO46263 (AUTH vaughajj); Tue, 25 Jan 2005 14:41:18 -0500 (EST) Date: Tue, 25 Jan 2005 14:37:07 -0500 Mime-Version: 1.0 (Apple Message framework v553) Content-Type: text/plain; charset=US-ASCII; format=flowed From: John J Vaughan To: freebsd-questions@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <7FDA2041-6F08-11D9-8EBB-000A957957BC@jmu.edu> X-Mailer: Apple Mail (2.553) Subject: Configuring mod_php4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 19:42:03 -0000 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