Author Topic: php exif module compile in directadmin php5.6  (Read 6253 times)

golfreeze

  • Administrator
  • Hero Member
  • *****
  • Posts: 2140
    • View Profile
    • นั่งสมาธิ สติปัฏฐานสี่ พาเที่ยววัด แนะนำวัด แจกcd ธรรมะฟรี
    • Email
php exif module compile in directadmin php5.6
« on: ธันวาคม 06, 2017, 04:20:32 PM »
[Wed Dec 06 15:38:24.939100 2017] [:error] [pid 22335] [client 184.22.239.208:64987] PHP Fatal error:  Call to undefined function exif_imagetype() in /home/img-crop-v16.0.2.php on line 41, referer: https://www.packetlove.com/inw-crop/

cd /usr/local/directadmin/custombuild
./build used_configs | grep configure.php
cd /usr/local/directadmin/custombuild
mkdir -p custom/ap2
cp -fp configure/ap2/configure.php56 custom/ap2/configure.php56

ทำการเพิ่ม --enable-exif ใน custom/ap2/configure.php56

./build php n
./build rewrite_confs

php -m
exif