PHP 7.4 error

maiijarb

Verified User
Joined
Nov 8, 2006
Messages
65
CentOS 7 + PHP 7.4 error
php1 7.4
php2 5.3
php3 5.6
php4 7.3

PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/mysqli (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/mysqli: cannot open shared object file: No such file or directory), /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/mysqli.so (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/mysqli.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/php74/lib/php/extensions/no-debug-non-zts-20190902/mysqli (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/mysqli: cannot open shared object file: No such file or directory), /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/mysqli.so (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/mysqli.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

I try
cd /usr/local/directadmin/custombuild
./build clean
./build update
./build update_versions

and
cd /usr/local/directadmin/custombuild
./build clean
./build update
./build php

no luck
 
mysqli built-in, you don't need to include it as dynamic library.
just remove this include from your config (php.ini or directadmin.ini or where this extension added to load).
you can see all config files loaded in phpinfo.
 

Attachments

  • 17-11-2021 08-18-15.jpg
    17-11-2021 08-18-15.jpg
    211.2 KB · Views: 286
Back
Top