I got phpspreadsheet installed but am getting an error:
PHP Fatal error: Call to undefined function PhpOffice\PhpSpreadsheet\Shared\mb_strlen() in /opt/apache/htdocs/mysite/tools/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/StringHelper.php on line 469
Here is the code used to call phpspreadsheet:
require '../vendor/autoload.php';
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
From what I found it means the plugin mbstring isnt working/installed but my PHP says it is installed:
# php -m
[PHP Modules]
Core
ctype
curl
date
dom
ereg
fileinfo
filter
gd
hash
iconv
intl
json
libxml
mbstring
mhash
mysql
mysqli
openssl
pcre
PDO
pdo_mysql
Phar
Reflection
session
SimpleXML
SPL
sqlite3
standard
xml
xmlreader
xmlwriter
zip
zlib
[Zend Modules]
Any idea if something else is missing or how I can fix this?