Hi. Here are some suggestions.
If CGI mode, perhaps try the following:
Code:
#!/usr/bin/php4 -f [path]/search/admin/spider.php forceall >> /tmp/phpdig.log
If not CGI mode, and PHP can run anywhere, cd to the search dir and try the following:
Code:
php -f admin/spider.php forceall > phpdig.log
If this is the first time indexing, change forceall to http://www.domain.com
In the config file, change the following to one if updating before seven days have past:
PHP Code:
define('LIMIT_DAYS',7); //default days before reindex a page
To start over and index from scratch, do the following:
- empty all the PhpDig database tables
- delete all files that may be in the temp dir
- delete all files in the text_content dir except keepalive.txt
- run spider.php from a browser or command prompt
Before running spider.php from the command prompt, in the config file, change the following to one if only one level is wanted:
PHP Code:
define('SPIDER_MAX_LIMIT',20); //max recurse levels in sipder
define('SPIDER_DEFAULT_LIMIT',3); //default value
define('RESPIDER_LIMIT',4); //recurse limit for update