0

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.

0

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.

  • 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 – Ilco Bosboom Sep 27 '18 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 '18 at 16:43
  • See also stackoverflow.com/q/5127838/165358 – harrymc Sep 27 '18 at 17:14

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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