On 05/05/2008 08:36 AM, Terry Herckenrath wrote:
> I am using a PHP script to control indexing, which works great when run
> from an ssh session, but fails when run from cron.
>
> I have confirmed that the actual PHP script is NOT executed when the
> shell script is run from cron, instead I get "Unknown header line"
> warnings (see below).
>
> How do I make this work? I don't know perl, so using a perl script
> instead of the PHP script is not an option for me.
>
we need to see /home/shootsm2/public_html/searchsmarter/searchsmarter.conf
> External Program found: /usr/bin/php
>
> Warning: Unknown header line: 'X-Powered-By: PHP/5.2.3' from program php
>
> Warning: Unknown header line: 'Content-type: text/html' from program php
> err: External program failed to return required headers Path-Name:
> .
>
those are http headers coming directly from php. Does your php script have the execute bit
set?
--
Peter Karman . peter(at)not-real.peknet.com . http://peknet.com/
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Mon May 5 10:15:15 2008