[kronolith] Re: Reminders not working, help wanted.

John H. Bennett III bennettj at thebennetthome.com
Wed Feb 23 05:43:41 PST 2005


> output of
>
> /usr/bin/php -l /home/horde/kronolith/scripts/reminders.php
> No syntax errors detected in /home/horde/k/usr/bin/php -l
>
> output of
>
>
> /usr/bin/php /home/horde/kronolith/scripts/reminders.php
> X-Powered-By: PHP/4.3.2
> Set-Cookie: Horde=0707e23a201fa462ab393f6ff6cf6e56; path=/horde;
> domain=127.0.0.1
> Expires: Thu, 19 Nov 1981 08:52:00 GMT
> Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
> Pragma: no-cache
> Content-Type: text/html; charset=ISO-8859-1

>> This means that your PHP executable is a CGI version of PHP, not CLI 
>> what it is supposed to be. reminders.php should bail out if the PHP 
>> that is executing the script isn't a CLI, but this doesn't seem to work 
>> for you either. Try to comment out the "exit" in line 24.

>  Jan.

Ok, so does that mean if I get no output from
/usr/bin/php /home/horde/kronolith/scripts/reminders.php that I am using the
CLI version of PHP?  If not, is there a way to test whether one has the CGI
or CLI other than the test above.

Thanks again,

John Bennett



More information about the kronolith mailing list