PHPExiftool
PHPExiftool copied to clipboard
Error finding exiftool binary
I am getting the following error trying to add exif data to an image:
**Unable to get exiftool binary**
Error: An Internal Error Has Occurred.
Stack Trace
APP/Vendor/PHPExiftool/Exiftool.php line 50 → PHPExiftool\Exiftool::getBinary()
APP/Vendor/PHPExiftool/Writer.php line 299 → PHPExiftool\Exiftool->executeCommand(string, integer)
APP/Controller/AdminController.php line 429 → PHPExiftool\Writer->write(string, PHPExiftool\Driver\Metadata\MetadataBag)
[internal function] → AdminController->imgdef()
CORE/Cake/Controller/Controller.php line 499 → ReflectionMethod->invokeArgs(AdminController, array)
CORE/Cake/Routing/Dispatcher.php line 193 → Controller->invokeAction(CakeRequest)
CORE/Cake/Routing/Dispatcher.php line 167 → Dispatcher->_invoke(AdminController, CakeRequest)
APP/webroot/index.php line 117 → Dispatcher->dispatch(CakeRequest, CakeResponse)
I have conformed at exiftool is located at:
root@sds n00002621 # where exiftool
/usr/local/bin/exiftool
Using macos 10.15.6, PHP 7.4.10, and CakePHP 2.10.22.
Any suggestions on how to fix this?
Stuart