Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] cron indexing with PHP

From: Terry Herckenrath <Terry(at)>
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

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


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

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


*Resourceful ~ Resilient ~ Reliable*

Users mailing list
Received on Tue May 6 11:49:19 2008