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

  You need to have lang/php4 port installed first, because it conflicts
  with mod_php4*. Install www/mod_php4 after you have lang/php4 
  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,

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

"Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws."

   Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

Attachment: pgp8HruqNe1hr.pgp
Description: PGP signature

Reply via email to