PHP Code:
define('PHPDIG_PARSE_PDF','/usr/local/bin/pstotext');
echo "Is parse pdf executable: " . is_executable(PHPDIG_PARSE_PDF) . "<br><br>";
Is parse pdf executable: // empty meaning false
Hi. The "is parse pdf executable" is not returning a result. This is why the expression in the if statement evaluates to false.
From
php.net "If a directory is not executable, then you cannot get details on the files in the directory - this includes the permissions."
Try checking that the usr, local, and bin directories, as well as the pstotext file, are all 755 permissions.