Why is "Parse the pdf is set to: /usr/local/bin/pstotext" still printing?
It should be the following code...
PHP Code:
// in the next four lines change _PDF to either _MSWORD or _MSEXCEL for those binaries
echo "Index the doc is set to: " . PHPDIG_INDEX_MSWORD . "<br>";
echo "Parse the doc is set to: " . PHPDIG_PARSE_MSWORD . "<br>";
echo "Does parse doc exist: " . file_exists(PHPDIG_PARSE_MSWORD) . "<br>";
echo "Is parse doc executable: " . is_executable(PHPDIG_PARSE_MSWORD) . "<br>";
Try that and also keep the following:
PHP Code:
define('PHPDIG_OPTION_MSWORD',''); // two single quotes, no space between