Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] cron indexing with PHP

From: Terry Herckenrath <Terry(at)not-real.CactusCoder.com>
Date: Tue May 06 2008 - 15:50:33 GMT
Problem solved :-)

The problem is caused by PHP being executed via CLI rather than Apache. 
The documentation for using the -S prog switch with PHP assumes that PHP 
is executed via Apache.

The solution is to add -q to the beginning of the SwishProgParameters 
setting. So in my case I had to change

    SwishProgParameters               
    '/home/shootsm2/public_html/buildSmarticleIndex.php -s'

to

    SwishProgParameters                '-q
    /home/shootsm2/public_html/buildSmarticleIndex.php -s'

Hope this saves others from pulling their hair out like I did...

Terry

-- 
*Resourceful ~ Resilient ~ Reliable
http://CactusCoder.com/*


_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Tue May 6 11:49:19 2008