Re: Executing a php script periodically using crond
| From: | Richard Lynch | Date: | Tue, 02 Jul 2002 23:27:19 +0000 |
| Subject: | Re: Executing a php script periodically using crond | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-105086@lists.php.net to get a copy of this message | ||
>PS. I cannot compile as a binary etc. This configuration is the confi of the
>shared server I am using which is hosted by a third part.
>
>Henry
>
>
Get them to do the exact same command, without the apxs part, and put the
resulting php binary in /usr/bin or somewhere handy...
They *PROBABLY* already have it, actually...
Can you SSH in and do:
locate php | less
Look for something like /usr/bin/php or /usr/local/bin/php or /usr/sbin/php
or...
Or, just try this at the command line, and pray:
php -v
If that spits out PHP info (version etc) then you're all set.
--
Like Music? http://l-i-e.com/artists.htm