nginx – PHP Warning: PHP Startup: Unable to load dynamic library ‘mysqli’ while installing osticket in centos 7

PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/lib64/php/modules/mysqli (/usr/lib64/php/modules/mysqli: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/mysqli.so (/usr/lib64/php/modules/mysqli.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

I got this error while trying to install osticket in centos 7.

I tried

find / -name mysqli.so

This command and there is no mysqli.so in my centos box. I suppose the issue will be fixed if I install it. But I am not sure how to install it for php 8.x.

Read more here: Source link