1

Could Not Install / Enable fileinfo extension

I have referred to this https://stackoverflow.com/a/10194105/1679510

which says fileinfo is by default enabled i php5.3+

I have php5.5.9 on my ubuntu, but php.ini file did not have any filenfo extension information.

I have also checked /etc/php5/mods-available and no ini file for fileinfo

Running pecl install fileinfo give depricatd error, which is expected.

How to install the fileinfo extension.

Edit1:

After running php -m fileinfo can be seen in the list, however the file exception error in laravel log lead me to debugg into this is -> http://pastebin.com/FaENLrLH

Is it really a fileinfo error? or something else?

Cœur
  • 37,241
  • 25
  • 195
  • 267
echoashu
  • 912
  • 3
  • 14
  • 31
  • yes its there fileinfo :-) .. so what next can i do to enable it ? (i am having file upload errors , and the developer reported it is dependent on fileinfo extension – echoashu Sep 29 '14 at 06:59
  • Show your errors messages (do not trust developers : ) )... – sectus Sep 29 '14 at 07:02
  • its here http://pastebin.com/FaENLrLH Its a php script using lavarel framework. thanks for extended support :-) – echoashu Sep 29 '14 at 07:05
  • This error does not rely on fileinfo extension. It's consequence of `is_uploaded_file` or `http://php.net/manual/ru/features.file-upload.errors.php` result. Ask developer to visit SO with his own question. – sectus Sep 29 '14 at 07:31
  • ok thanks. How can i close this thread? – echoashu Sep 29 '14 at 07:49
  • You could do nothing % ) – sectus Sep 29 '14 at 07:54

0 Answers0