How to install/enable php exif?

saminiemi

New member
Joined
Sep 6, 2018
Messages
4
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:
cd /usr/local/directadmin/custombuild
mkdir -p custom/fpm
cp -fp configure/fpm/configure.php72 custom/fpm/configure.php72

Screenshots:
https://ibb.co/gALEFK
https://ibb.co/h4agvK
 
edit configure.php72:

Code:
nano /usr/local/directadmin/custombuild/custom/fpm/configure.php72

The last line is probably:

Code:
--enable-intl

Add a backslash and add --enable-exif on the line below, so it looks like this:

Code:
--enable-intl \
--enable-exif

After this is done, follow the remaining steps in the guide.
 
Back
Top