Re: Enabling exif in Ubuntu 14.10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/28/2015 11:49 PM, Abdul Abdul wrote:
> 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?
> 

What you are listing are the setting for exif in your php.ini file.  What you
need to make sure exists is the line that actually loads the extension.

You should see something like this in your php.ini file, or depending on your
distro, you might find something in /etc/php.d/*, /etc/httpd/conf.d/*, etc...

Here is a portion of my php.ini file:

;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;

; If you wish to have an extension loaded automatically, use the following
; syntax:
;
;   extension=modulename.extension
;
; For example, on Windows:
;
;   extension=msql.dll
;
; ... or under UNIX:
;
;   extension=msql.so

extension=mbstring.so
extension=exif.so



If you are on a unix system, you'll want to verify that you have the exif.so
extension in the correct folder.  Run this:

# ls `php -i | grep "^extension_dir" | sed -e 's/.*=> //'`

If you don't have the exif.so file in the output, you don't have the extension
available to you to load.

This also assumes that your cli php.ini file is the same as your web server
php.ini file.

-- 
Jim Lucas

http://www.cmsws.com/
http://www.cmsws.com/examples/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux