Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

rohansinghrawat's avatar

php fileInfo must be installed/enabled to use intervention image error in cpanel

I was using my php 7.2 version for my project and there is fileinfo extension installed but when i switched to 7.3 php version there is no fileinfo so how to enable fileInfo for particular version as there is no such option in my cpanel .

So is there any method to install fileinfo using command line for particular php version using cpanel ?

0 likes
7 replies
Sinnbeck's avatar

Don't know cpanel but I know Linux

sudo apt install php7.3-fileinfo
rohansinghrawat's avatar

@Sinnbeck thanks for you help but in my case there is no php version section available maybe because of server installed

rohansinghrawat's avatar

@Sinnbeck actually there is one WHM for handling my cpanel and there is option for upgrading downgrading php versions also I have found there is fileinfo extension but somehow i am not able to install there

Please or to participate in this conversation.