Laravel-medialibrary: Reading Exif data is not supported by this PHP installation.

Created on 21 Jul 2016  路  7Comments  路  Source: spatie/laravel-medialibrary

Is this a common error or am I doing something wrong?

Most helpful comment

The following may be of help to users of LaraDock.

You can change the PHP_FPM_INSTALL_EXIF .env variable from falseto true. After making the change simply run docker-compose build php-fpm.

All 7 comments

This package will read out exif data. Probably your PHP installation doesn't have the right extension installed.

What extension would need to be enabled to fix this? I'm running into this error as well.

You need the exit extension: http://php.net/manual/en/exif.installation.php

I also ran into this. Perhaps adding exif as a dependency in the docs would be helpful for others. Just a suggestion. Would've saved me a few extra minutes. Stellar package overall!

Added a note to the docs.

The following may be of help to users of LaraDock.

You can change the PHP_FPM_INSTALL_EXIF .env variable from falseto true. After making the change simply run docker-compose build php-fpm.

If on windows, just locate your php.ini file, and change this line ;extension=exif to extension=exif

Was this page helpful?
0 / 5 - 0 ratings