1

I am running a nginx Server on ubuntu of which i am trying to install moodle. But I cant procédé with the setup because it needs the php fileinfo module enabled/or/instald. To be able to procédé with the instal of moodle.

1 Answer 1

2

On Ubuntu / Debian fileinfo is supposedly installed and enabled by default, so I find your problem a bit puzzling.

I suggest to check if in the file php.ini you have the following line, and if not then add it :

extension=fileinfo.so

If the file is commented out, just delete the ; at the beginning of the line.

If you still have a problem, check if you have the shared library fileinfo.so in the ext folder of PHP.

3
  • ive checkt the exstension folder.and the php.ini it seems to be added . but its not loading for some reason - i am using php-fpm v 7.2 Sep 27, 2018 at 16:34
  • Something may be wrong with fileinfo.so. My guess would be a missing dependency. For checking see this post.
    – harrymc
    Sep 27, 2018 at 16:43
  • See also stackoverflow.com/q/5127838/165358
    – harrymc
    Sep 27, 2018 at 17:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.