PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > External Binaries

Reply
 
Thread Tools
Old 08-28-2004, 06:23 AM   #1
wessam
Orange Mole
 
Join Date: Jul 2004
Posts: 30
ps2ascii

hi we are using ps2ascii to index PDF file and it's work perfect on our Solaris machine, we try to install the same PhpDig on another Solaris machine but you can’t index PDF files for any reason, when we try to test the ps2ascii from shell it’s work and give us the output but when we try index PDF file through PhpDig nothing added.

This Config. Php file code:


define('USE_RENICE_COMMAND','1'); //use renice for process priority



//---------EXTERNAL TOOLS SETUP

// if set to true is_executable used - set to '0' if is_executable is undefined

define('USE_IS_EXECUTABLE_COMMAND','1'); //use is_executable for external binaries



// if set to true, full path to external binary required

define('PHPDIG_INDEX_MSWORD',true);

define('PHPDIG_PARSE_MSWORD','/usr/local/bin/catdoc');

define('PHPDIG_OPTION_MSWORD','-s cp1256 -d cp1256');



define('PHPDIG_INDEX_PDF',true);

define('PHPDIG_PARSE_PDF','/usr/local/bin/ps2ascii');

define('PHPDIG_OPTION_PDF','');



define('PHPDIG_INDEX_MSEXCEL',true);

define('PHPDIG_PARSE_MSEXCEL','/usr/local/bin/xls2csv');

define('PHPDIG_OPTION_MSEXCEL','-s cp1256 -d cp1256');




define('PHPDIG_INDEX_MSPOWERPOINT',true);

define('PHPDIG_PARSE_MSPOWERPOINT','/usr/local/bin/ppthtml');

define('PHPDIG_OPTION_MSPOWERPOINT','');




//---------EXTERNAL TOOLS EXTENSIONS

// if external binary is not STDOUT or different extension is needed

// for example, use '.txt' if external binary writes to filename.txt

define('PHPDIG_PDF_EXTENSION','');

define('PHPDIG_MSWORD_EXTENSION','');

define('PHPDIG_MSEXCEL_EXTENSION','');

define('PHPDIG_MSPOWERPOINT_EXTENSION','');

//---------FTP SETTINGS
wessam is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:38 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.