'Error in php Tesseract OCR - Call to undefined function thiagoalessio\TesseractOCR\system()

I am configuring a new server and after installing everything I needed like Tessarc in ubuntu, then installed also the package thiagoalessio/tesseract_ocr However, when I try to upload an image for testing I get this error:

Call to undefined function thiagoalessio\TesseractOCR\system()

The error is found on this file vendor/thiagoalessio/tesseract_ocr/src/FriendlyErrors.php but the system() function seems to be a built-in php function.

Any idea on how to fix that?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source