Solving PHP Startup: Unable to load dynamic library ‘mysqli’ undefined symbol: mysqlnd_global_stats in Fedora
Hi! This Tip Try to Solve PHP Startup: Unable to load dynamic library ‘mysqli’ undefined symbol: mysqlnd_global_stats in Fedora GNU/Linux.
Usually this is due to a misconfigured php.ini Setup.
Fixing System
Then to Solve PHP Startup: Unable to load dynamic library ‘mysqli’ undefined symbol: mysqlnd_global_stats in Fedora
Edit the php.it File:sudo nano /etc/php.it
Ctrl+w to search for the mysqli Section.
Then Append the Absolute Path to both mysqlnd.so & mysqli.so one after the other!
Finally, Ctrl+x to Save & Exit from nano Editor.
Last, Check if it found with:php -m | grep mysqli
And in the Output you should find it! :)
Thanks to: stackoverflow