Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Oct 2005 00:47:19 +0200
From:      Janko Harej <janko.harej@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   run php from crontab
Message-ID:  <bb38eb3c0510061547i3b05db17v@mail.gmail.com>

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

Hi,

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.

Can anybody help me? How can I set something like

/5 * * * * apache /usr/bin/php -q
/var/www/html/phpgwapi/cron/asyncservices.php default

in my cron tab if I don't know where php preprocesor is. How can I
figure out how apache is serving php pages?

Thanks
--
Janko


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