Don't know cpanel but I know Linux
sudo apt install php7.3-fileinfo
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
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 ?
Please or to participate in this conversation.