From owner-freebsd-questions@FreeBSD.ORG Thu Oct 6 23:03:11 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 36C7D16A41F for ; Thu, 6 Oct 2005 23:03:11 +0000 (GMT) (envelope-from corwin@pleiades.aeternal.net) Received: from pleiades.aeternal.net (pleiades.in.markiza.sk [62.168.76.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA23443D46 for ; Thu, 6 Oct 2005 23:03:10 +0000 (GMT) (envelope-from corwin@pleiades.aeternal.net) Received: by pleiades.aeternal.net (Postfix, from userid 1001) id 81DAB114E1; Fri, 7 Oct 2005 01:03:25 +0200 (CEST) Date: Fri, 7 Oct 2005 01:03:25 +0200 From: martin hudec To: freebsd-questions@freebsd.org Message-ID: <20051006230325.GB59979@pleiades.aeternal.net> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dTy3Mrz/UPE2dbVg" Content-Disposition: inline In-Reply-To: X-Copyright: (C) 2005 Martin Hudec X-Operating-System: FreeBSD pleiades.aeternal.net 7.0-CURRENT i386 X-PGP-Key: http://www.aeternal.net/corwin_aeternal.asc User-Agent: mutt-ng/devel-r535 (FreeBSD) Subject: Re: run php from crontab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: martin hudec List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 23:03:11 -0000 --dTy3Mrz/UPE2dbVg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Fri, Oct 07, 2005 at 12:47:19AM +0200 or thereabouts, Janko Harej wrote: > I would like to set crontab for executing php script. I've set up > apache 1.3 with mod_php and mysql and egroupware. All works fine. The > problem is that I can not find php on my disk. I've tried to install > php4 package but the sistem tells me, that there is already mod_php > installed. >=20 > Can anybody help me? How can I set something like >=20 > /5 * * * * apache /usr/bin/php -q > /var/www/html/phpgwapi/cron/asyncservices.php default >=20 > in my cron tab if I don't know where php preprocesor is. How can I > figure out how apache is serving php pages? You need to have lang/php4 port installed first, because it conflicts with mod_php4*. Install www/mod_php4 after you have lang/php4=20 installed. Also read pkg-message.mod in lang/php4 for instructions how to enable php support in Apache. After then, go for lang/php4-extensions to install whatever php module your heart desires. Cheers, --=20 martin hudec * 421 907 303 393 * corwin@aeternal.net * http://www.aeternal.net "Nothing travels faster than the speed of light with the possible=20 exception of bad news, which obeys its own special laws." Douglas Adams, "The Hitchhiker's Guide to the Galaxy" --dTy3Mrz/UPE2dbVg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDRa09ZYEZIv+rgggRAp+/AJ9CfVTOpatb7kGQU9scyA7F8FVzJgCeLm/f qGYxdjup3i/CJm3cos8ganI= =UQMZ -----END PGP SIGNATURE----- --dTy3Mrz/UPE2dbVg--