The linunx system opens extension=php_fileinfo.dll extension error handling method

Open the extension of php_fileinfo;
Open the fileinfo extension as shown in the figure
run service php-fpm restart and some errors occur

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/php_fileinfo.dll' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/php_fileinfo.dll: cannot open shared object file: No such file or directory in Unknown on line 0

Solution

First, we run php -m to check whether the extension is installed.
insert image description here
If the extension does not exist, install it | Please refer to https://blog.csdn.net/star1989116/article/details/83824706

This is how my error was resolved! If your problem is still unsolved, please refer to
https://blog.csdn.net/aerchi/article/details/84646179

Guess you like

Origin blog.csdn.net/weixin_40069439/article/details/91909458