From owner-freebsd-questions@FreeBSD.ORG Mon Dec 8 11:34:41 2003 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 DCC2E16A4CF for ; Mon, 8 Dec 2003 11:34:41 -0800 (PST) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DB0F43D28 for ; Mon, 8 Dec 2003 11:34:24 -0800 (PST) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Mon, 8 Dec 2003 13:20:21 -0600 Message-ID: <3FD4CE20.709@daleco.biz> Date: Mon, 08 Dec 2003 13:16:48 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031124 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Redmond Militante References: <20031208183732.GB15834@darkpossum> In-Reply-To: <20031208183732.GB15834@darkpossum> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Dec 2003 19:20:22.0453 (UTC) FILETIME=[533F3E50:01C3BDC0] cc: freebsd-questions@freebsd.org Subject: Re: php4-cli install with 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: Mon, 08 Dec 2003 19:34:42 -0000 Redmond Militante wrote: >hi all > >i'd like to run a php file as a cron job on my apache box. in order to do this, i'm trying to install /usr/ports/lang/php4-cli. > >i cd to the dir, make install clean, set php compile options, etc. it errors out like this: > >--snip-- > ># make install >===> Installing for php4-cli-4.3.4_2 >===> php4-cli-4.3.4_2 conflicts with installed package(s): > mod_php4-4.3.4_2,1 > > They install files into the same place. > Please remove them first with pkg_delete(1). >*** Error code 1 > >Stop in /usr/ports/lang/php4-cli. >*** Error code 1 > >Stop in /usr/ports/lang/php4-cli. >--snip-- > >what's the best way to get php4-cli installed on a box with mod_php4? any suggestions would be appreciated > >thanks >redmond > > > Maybe 3 options: 1. Do as it says and uninstall mod_php4, then build /usr/ports/lang/php4, which will install CGI, CLI and Apache so module. 2. If you've gotten this far, there's a CLI executable built somewhere in the "work" subdirectory. You could install it yourself, but it wouldn't be registered, I guess...a terrible hack, probably :-) 3. Have you tried $make FORCE_PKG_REGISTER=yes install ? (Saving "make clean for later, just in case???") HTH, Kevin Kinsey