Re: Enabling exif in Ubuntu 14.10
| From: | Abdul Abdul | Date: | Thu, 29 Jan 2015 07:49:13 +0000 |
| Subject: | Re: Enabling exif in Ubuntu 14.10 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-324316@lists.php.net to get a copy of this message | ||
Hello Peter,
Thanks for your reply. Actually, this is what I have regarding exif in my
php.ini file. Should I add what you mentioned manually?
[exif]
; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
; With mbstring support this will automatically be converted into the
encoding
; given by corresponding encode setting. When empty
mbstring.internal_encoding
; is used. For the decode settings you can distinguish between motorola and
; intel byte order. A decode setting cannot be empty.
; http://php.net/exif.encode-unicode
;exif.encode_unicode = ISO-8859-15
; http://php.net/exif.decode-unicode-motorola
;exif.decode_unicode_motorola = UCS-2BE
; http://php.net/exif.decode-unicode-intel
;exif.decode_unicode_intel = UCS-2LE
; http://php.net/exif.encode-jis
;exif.encode_jis =
; http://php.net/exif.decode-jis-motorola
;exif.decode_jis_motorola = JIS
; http://php.net/exif.decode-jis-intel
;exif.decode_jis_intel = JIS
Thanks.
On Wed, Jan 28, 2015 at 5:21 PM, Peter West <lists@pbw.id.au> wrote:
> Hello Abdul,
>
> This is a comment from the manual entry
> http://php.net/manual/en/book.exif.php
>
> "If you have exif.so or php_exif.dll enabled under php.ini dynamic
> extensions, but you still have problem running any funtion, it is possible
> that you may need to change order of extensions in php.ini.
>
> In many PHP installation packages the extensions are listed
> alphabetically. However, exif is dependent on mbstrings to be loaded first.
> Yet, with alphabetic ordering the exif is listed before mbstrings and it
> causes the error. Load mbstrings extensions before exif.
>
> Thus, do put exif as the very last extension to load and you should be
> fine."
>
> I don't vouch for its accuracy.
>
> Peter West
>
> "For my yoke is easy, and my burden is light."
>
> > On 29 Jan 2015, at 10:19 am, Abdul Abdul <abdul.sw84@gmail.com> wrote:
> >
> > Hello,
> >
> > I have been trying to enable "exif" in Ubuntu 14.10 for a while now with
> no
> > success.
> >
> > I appreciate if you can guide me to doing that, as I need to work with a
> > program that requires "exif".
> >
> > Thanks a lot.
>
>