No PHP Binary - Cronjob Options?

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Dave96
Posts: 13
Joined: Sat Jan 21, 2006 7:52 pm

No PHP Binary - Cronjob Options?

Post by Dave96 »

Hi,

My server does not use the PHP binary. Is there any option to still be able to run the poller.php from the crontab? Will the wget method work?

Thanks
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Without php you will be lost. poller.php and the whole WebInterface will not work without php
Reinhard
Dave96
Posts: 13
Joined: Sat Jan 21, 2006 7:52 pm

Post by Dave96 »

I have PHP installed but not the php binary. It's installed as a module bundled with my control panel.

This means that I cannot run "php poller.php" since there is no php binary.

Is there an alternative or must I recompile php?
spotman
Posts: 15
Joined: Thu Sep 01, 2005 7:22 am

Post by spotman »

You should recompile PHP with CLI support. Even if you could make it run through apache (which I assume that is what you mean), you are better off ahead with the CLI support because later down the road you might want to run things like database ugprades etc, and you will want to run them from the command line to see what happens.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest