How to install exif extension php?
Show Submit a Pull Request Report a Bug To enable exif-support configure PHP with --enable-exif Windows users must enable both the php_mbstring.dll and php_exif.dll DLL's in php.ini. The php_mbstring.dll DLL must be loaded before the php_exif.dll DLL so adjust your php.ini accordingly. +add a note User Contributed NotesThere are no user contributed notes for this page. Submit a Pull Request Report a Bug Your PHP must be compiled in with Windows only: The mbstring extension must always be enabled. Note that mbstring extension must be loaded prior to EXIF in php.ini. +add a note User Contributed NotesThere are no user contributed notes for this page. I moved my website to a Information:
First, I run options.conf
configure.php72
php.ini
But still I got:
Any idea? asked Mar 19, 2019 at 6:12
1 If php.ini contents is like this:
make sure in your PHP installation If it's not there, get it from here. answered Mar 19, 2019 at 8:02
OvermindOvermind 2,9702 gold badges15 silver badges24 bronze badges I'm using PHP 8 here. Edit your php.ini which is probably in /etc/php Page down to "Dynamic Extensions" Uncomment this line...
Save. Exif is included, so there's nothing to install. Restart php-fpm for the changes to take effect. answered Feb 26 at 9:44
PJ BrunetPJ Brunet 5561 gold badge5 silver badges15 bronze badges
Hi, I have my own VPS on da-debian 9. I have Directadmin installed and I'm using php7.2. I would like to enable the php exif extension. I tried to do it according to the instructions: https://help.directadmin.com/item.php?id=252 but after entering
these commands nothing happens. Code: Screenshots:
but after entering these commands nothing happens. Correct. That is because you forgot step 3 and 4 from the help file.
How should I add the "--enable-exif" line?
edit configure.php72: Code: The last line is probably: Add a backslash and add --enable-exif on the line below, so it looks like this: Code:
After this is done, follow the remaining steps in the guide. How to enable PHP exif extension?To enable multibyte support in EXIF tags, the mbstring extension must be enabled by compiling PHP with --enable-mbstring . PHP does not require any additional library for the exif module. Windows only: The mbstring extension must always be enabled. Note that mbstring extension must be loaded prior to EXIF in php.
What is EXIF PHP extension?The Exif PHP extension enables you to work with metadata from images taken by digital devices. For example, one common use of PHP's Exif functions is to process photographs taken by a digital camera. Depending on the image file format, you can also retrieve embedded thumbnails of images.
|