1

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.

I'm currently running Laravel but my log files are repeatedly growing with the same error.

[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

1

1 Answer 1

2

You may be missing a library. See this related question:

How to enable php_fileinfo extension in PHP?

If you have cpanel just go to

Select PHP Version

and search for the extension

fileinfo

check it and you're good to go.

Sign up to request clarification or add additional context in comments.

2 Comments

Hello thanks for getting back to me. I have it enabled already via WHM for PHP version 7.3. I believe what is happening here is it's being referenced elsewhere...
Hey no probs :). Have you enabled it for both the cli and fpm?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.