Hello,
on my CorePlus, I'm trying to implement a web server but I can't communicate with mysqld, the PHP error log report some warning:
PHP Warning: PHP Startup: Unable to load dynamic library 'ffi' (tried: /usr/local/lib/php/extensions/ffi (/usr/local/lib/php/extensions/ffi: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/ffi.so (libffi.so.7: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'hash' (tried: /usr/local/lib/php/extensions/hash (/usr/local/lib/php/extensions/hash: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/hash.so (/usr/local/lib/php/extensions/hash.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/lib/php/extensions/mysqli (/usr/local/lib/php/extensions/mysqli: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/mysqli.so (/usr/local/lib/php/extensions/mysqli.so: undefined symbol: mysqlnd_global_stats)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/local/lib/php/extensions/pdo_mysql (/usr/local/lib/php/extensions/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/pdo_mysql.so (/usr/local/lib/php/extensions/pdo_mysql.so: undefined symbol: mysqlnd_allocator)) in Unknown on line 0
I've found these files with find / -iname mysqli.so
except one that is hash.so. Anyway permissions for the other files are 755 and I have changed them in 777. Any suggestion on how to solve the problem, it seems that without these extensions it's not possible query the database.
The only error reported is:
PHP Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in ...mycode.php
What can I do?