How to Enable or install fileinfo php extension ?

Asked by:
HubFans / n/a Points
Time:
2014-08-24 7:10 am EST
Category:
How To
Hits:
11,970
when I try setup my website. I got a message "fileinfo php extension is not loaded".
How do I Enable or install fileinfo php extension ?

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

ScottM
Staff
16,266 Points
2014-08-25 3:55 pm EST
Hello,

As of php 5.3, the fileinfo extension is included by default. Your server is currently running 5.4 so it is already active.

Did you set your account to use a different php version? If not, please describe how we can check your site to duplicate the error.

Kindest Regards,
Scott M

To submit a comment on this answer, please first login.

In my account, it doesn't matter which version I choose, they all have --disable-fileinfo set in the configuration. Here is the relevant section from my phpinfo():

'./configure' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/opt/php55' '--exec-prefix=/opt/php55' '--bindir=/opt/php55/bin' '--sbindir=/opt/php55/sbin' '--sysconfdir=/etc' '--datadir=/opt/php55/share' '--includedir=/opt/php55/include' '--libdir=/opt/php55/lib64' '--libexecdir=/opt/php55/libexec' '--localstatedir=/var' '--sharedstatedir=/opt/php55/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-libdir=lib64' '--libdir=/opt/php55/lib/php' '--with-sqlite3=shared,/opt/sqlite3' '--with-pdo-sqlite=shared,/opt/sqlite3' '--disable-fileinfo' '--enable-cli' '--enable-bcmath' '--enable-calendar' '--enable-dbase' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml=static' '--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=static' '--enable-soap' '--enable-sockets' '--enable-sqlite-utf8' '--enable-zend-multibyte' '--enable-zip' '--enable-intl' '--with-icu-dir=/opt/icu-last' '--with-bz2' '--with-curl' '--with-curlwrappers' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap' '--with-imap-ssl' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libexpat-dir=/usr' '--with-mcrypt' '--with-mhash' '--with-mime-magic' '--with-mm' '--with-mysql=mysqlnd' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=mysqlnd' '--with-openssl' '--with-openssl-dir=/usr' '--with-pcre-regex' '--with-pdo-mysql=mysqlnd' '--with-pdo-pgsql=/usr/pgsql-9.3' '--with-pgsql=/usr/pgsql-9.3' '--with-pic' '--with-png-dir=/usr' '--with-pspell' '--with-tidy' '--with-ttf' '--with-xmlrpc' '--with-xpm-dir=/usr' '--with-xsl' '--with-zlib' '--with-zlib-dir=/usr'
jchandler
6 Points

2014-11-11 2:04 am EST
Hello jchandler,

You may want to check in with our Live Support team for your server's individual specs. I was told that it was included, but there may be an issue either on your server or with your particular account that they can address.

Kindest Regards,
Scott M
ScottM
16,266 Points
Staff
2014-11-11 2:17 am EST
According to the Live Support Team: "It is not possible to set it on this server. It is a very resource intensive extension, and is disabled by the server configuration."
jchandler
6 Points

2014-11-11 10:54 am EST
Could you provide me with the domain that you are currently working with so that I may further look into your configuration?
JeffMa
2,342 Points
Staff
2014-11-11 6:48 pm EST
Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}