Hi all,

I don't know if I type something wrong into google, but I don't find howto enable exif for php5.

I compiled php using

HTML Code:
--enable-exif
in file
/usr/src/php5-5.2.4/debian/rules

compilation was successfully.

Here are my files:


HTML Code:
-rw-r--r--  1 root src  2616182 2011-01-25 11:10 libapache2-mod-php5_5.2.4-2ubuntu5.14_amd64.deb
drwxr-sr-x 20 root src     4096 2011-01-25 11:10 php5-5.2.4
-rw-r--r--  1 root src     1080 2011-01-25 11:10 php5_5.2.4-2ubuntu5.14_all.deb
-rw-r--r--  1 root src     4256 2011-01-25 11:10 php5_5.2.4-2ubuntu5.14_amd64.changes
-rw-r--r--  1 root src   171835 2011-01-25 10:48 php5_5.2.4-2ubuntu5.14.diff.gz
-rw-r--r--  1 root src     1726 2011-01-25 10:48 php5_5.2.4-2ubuntu5.14.dsc
-rw-r--r--  1 root src  9705468 2007-12-21 15:04 php5_5.2.4.orig.tar.gz
-rw-r--r--  1 root src  5094718 2011-01-25 11:10 php5-cgi_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src  2573096 2011-01-25 11:10 php5-cli_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src   329002 2011-01-25 11:10 php5-common_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src    25006 2011-01-25 11:10 php5-curl_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src   400604 2011-01-25 11:10 php5-dev_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src   108066 2011-01-25 11:10 php5-gd_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src    17576 2011-01-25 11:10 php5-gmp_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src    20228 2011-01-25 11:10 php5-ldap_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src     5512 2011-01-25 11:10 php5-mhash_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src    74342 2011-01-25 11:10 php5-mysql_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src    37700 2011-01-25 11:10 php5-odbc_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src    55866 2011-01-25 11:10 php5-pgsql_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src     9508 2011-01-25 11:10 php5-pspell_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src     5010 2011-01-25 11:10 php5-recode_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src    12384 2011-01-25 11:10 php5-snmp_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src    39472 2011-01-25 11:10 php5-sqlite_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src    28622 2011-01-25 11:10 php5-sybase_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src    17856 2011-01-25 11:10 php5-tidy_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src    38582 2011-01-25 11:10 php5-xmlrpc_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src    13520 2011-01-25 11:10 php5-xsl_5.2.4-2ubuntu5.14_amd64.deb
-rw-r--r--  1 root src   360190 2011-01-25 11:10 php-pear_5.2.4-2ubuntu5.14_all.deb
I installed php5_5.2.4-2ubuntu5.14_all.deb
restarted apache2

But php5 does not show me the exif information from an image while threading it using php.

I should have something like:


Code:
Array ( [FileName] => IMG_0007.JPG [FileDateTime] => 1290345096 [FileSize] => 798434 [FileType] => 2 [MimeType] => image/jpeg [SectionsFound] => ANY_TAG, IFD0, THUMBNAIL, EXIF [COMPUTED] => Array ( [html] => width="2592" height="1936" [Height] => 1936 [Width] => 2592 [IsColor] => 1 [ByteOrderMotorola] => 1 [ApertureFNumber] => f/2.8 [Thumbnail.FileType] => 2 [Thumbnail.MimeType] => image/jpeg ) [Make] => Apple [Model] => iPhone 4 [Orientation] => 1 [XResolution] => 72/1 [YResolution] => 72/1 [ResolutionUnit] => 2 [Software] => 4.1 [DateTime] => 2010:11:21 14:11:36 [YCbCrPositioning] => 1 [Exif_IFD_Pointer] => 186 [THUMBNAIL] => Array ( [Compression] => 6 [XResolution] => 72/1 [YResolution] => 72/1 [ResolutionUnit] => 2 [JPEGInterchangeFormat] => 670 [JPEGInterchangeFormatLength] => 3392 ) [ExposureTime] => 1/44 [FNumber] => 14/5 [ExposureProgram] => 2 [ISOSpeedRatings] => 80 [ExifVersion] => 0221 [DateTimeOriginal] => 2010:11:21 14:11:36 [DateTimeDigitized] => 2010:11:21 14:11:36 [ComponentsConfiguration] => � [ShutterSpeedValue] => 7828/1437 [ApertureValue] => 4281/1441 [MeteringMode] => 1 [Flash] => 25 [FocalLength] => 77/20 [SubjectLocation] => Array ( [0] => 1295 [1] => 967 [2] => 699 [3] => 696 ) [FlashPixVersion] => 0100 [ColorSpace] => 1 [ExifImageWidth] => 2592 [ExifImageLength] => 1936 [SensingMethod] => 2 [ExposureMode] => 0 [WhiteBalance] => 0 [DigitalZoomRatio] => 648/271 [SceneCaptureType] => 0 [Sharpness] => 2 ) fas
But I get this:

Code:
Array ( [FileName] => 129646644813extrait.jpg [FileDateTime] => 1296466471 [FileSize] => 3057681 [FileType] => 2 [MimeType] => image/jpeg [SectionsFound] => COMMENT [COMPUTED] => Array ( [html] => width="1936" height="2592" [Height] => 2592 [Width] => 1936 [IsColor] => 1 ) [COMMENT] => Array ( [0] => CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 100 ) ) fas
Please can somebody help me?