PHP Fileinfo extension must be installed/enabled to use Intervention Image. #2713

Closed
opened 2026-02-05 04:53:45 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @Ikun886-cxk on GitHub (Mar 21, 2022).

Describe the Bug

I have a problem running php artisan key:generate.

Steps to Reproduce

php artisan migrate

In ImageManager.php line 137:

PHP Fileinfo extension must be installed/enabled to use Intervention Image.

But I have installed the phpinfo extension.

Expected Behaviour

php artisan migrate

In ImageManager.php line 137:

PHP Fileinfo extension must be installed/enabled to use Intervention Image.

But I have installed the phpinfo extension.

Screenshots or Additional Context

No response

Browser Details

Google Chrome (99.0.4844.74) 64-bit on Windows11

Exact BookStack Version

v22.0.2.3

PHP Version

8.0

Hosting Environment

Debian GNU/Linux 11 x86_64 installed using Manual Installation

Originally created by @Ikun886-cxk on GitHub (Mar 21, 2022). ### Describe the Bug I have a problem running php artisan key:generate. ### Steps to Reproduce php artisan migrate In ImageManager.php line 137: PHP Fileinfo extension must be installed/enabled to use Intervention Image. But I have installed the phpinfo extension. ### Expected Behaviour php artisan migrate In ImageManager.php line 137: PHP Fileinfo extension must be installed/enabled to use Intervention Image. But I have installed the phpinfo extension. ### Screenshots or Additional Context _No response_ ### Browser Details Google Chrome (99.0.4844.74) 64-bit on Windows11 ### Exact BookStack Version v22.0.2.3 ### PHP Version 8.0 ### Hosting Environment Debian GNU/Linux 11 x86_64 installed using Manual Installation
OVERLORD added the 🐛 Bug label 2026-02-05 04:53:45 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Mar 21, 2022):

Hi @SurpriseLon,

I see you're using PHP 8 which would have been installed outside of available system packages (In addition to the default available version of PHP on debian 11).

Are you sure you have the fileinfo extension installed for the version of PHP used on the command line?

You can check the version of the command line php in use with php -v.
You can check the extensions installed with php -m then look for fileinfo in the output.

@ssddanbrown commented on GitHub (Mar 21, 2022): Hi @SurpriseLon, I see you're using PHP 8 which would have been installed outside of available system packages (In addition to the default available version of PHP on debian 11). Are you sure you have the `fileinfo` extension installed for the version of PHP used on the command line? You can check the version of the command line php in use with `php -v`. You can check the extensions installed with `php -m` then look for fileinfo in the output.
Author
Owner

@ssddanbrown commented on GitHub (Mar 28, 2022):

Since there's been no follow-up I'm going to close this. If the issue remains and is something you still require to be fixed respond to my previous comment and this can then be re-opened.

@ssddanbrown commented on GitHub (Mar 28, 2022): Since there's been no follow-up I'm going to close this. If the issue remains and is something you still require to be fixed respond to my previous comment and this can then be re-opened.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2713