[英]PHP Warning: PHP Startup: Unable to load dynamic library 'php_fileinfo.dll'
Good morning,早上好,
I'm struggerling to understand the below error.我很难理解以下错误。 I believe it was caused when i migrated a cPanel account from one WHM to another.我相信这是当我将一个 cPanel 帐户从一个 WHM 迁移到另一个 WHM 时引起的。
I'm currently running Laravel but my log files are repeatedly growing with the same error.我目前正在运行 Laravel 但我的日志文件反复增长并出现相同的错误。
[02-Jun-2020 10:46:47 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'php_fileinfo.dll' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/php_fileinfo.dll (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/php_fileinfo.dll: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/php_fileinfo.dll.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/php_fileinfo.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Has anyone experienced this before?有谁之前经历过这个吗? or no of how i can resolve it...或者不知道如何解决它...
Regards问候
Ross罗斯
You may be missing a library.您可能缺少一个库。 See this related question:请参阅此相关问题:
How to enable php_fileinfo extension in PHP? 如何在 PHP 中启用 php_fileinfo 扩展?
If you have cpanel just go to如果您有 cpanel 只需 go 到
Select PHP Version Select PHP版本
and search for the extension并搜索扩展名
fileinfo文件信息
check it and you're good to go.检查它,你对 go 很好。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.