Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Oct 2005 01:03:25 +0200
From:      martin hudec <corwin@aeternal.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: run php from crontab
Message-ID:  <20051006230325.GB59979@pleiades.aeternal.net>
In-Reply-To: <bb38eb3c0510061547i3b05db17v@mail.gmail.com>
References:  <bb38eb3c0510061547i3b05db17v@mail.gmail.com>

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

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051006230325.GB59979>