How to Enable PHP Fileinfo Extension in cPanel
⚙️ How to Enable PHP Fileinfo Extension in cPanel
The PHP Fileinfo extension is a lightweight open-source library that helps PHP and CMS platforms (like WordPress) identify file types such as images, videos, audio, and documents.
If your application requires regular file uploads, enabling Fileinfo is essential.
🔹 Steps to Enable Fileinfo in cPanel
-
Log in to your cPanel account.
-
In the Software section, click Select PHP Version.
-
Scroll through the list of available extensions and check Fileinfo.
-
Click Save.
-
(Optional) If your PHP scripts require the Fileinfo extension immediately, restart your web server for changes to take effect.
✅ Once these steps are complete, the Fileinfo extension will be enabled and available for your PHP scripts.
Share
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0
