Call to undefined function exif_imagetype()
Posted by: graham23s (---.cable.ubr13.uddi.blueyonder.co.uk)
Date: March 28, 2008 11:18PM

Hi Guys,

in the site i am developing i use the exif_imagetype() function to validate images, on my host it works perfect, and on the older wamp setup, i upgraded to wamp server 2 and edited php.ini like:

;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
extension=php_mbstring.dll
extension=php_exif.dll
;extension=php_fdf.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_msql.dll
;extension=php_mssql.dll
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
extension=php_pdo.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_oci8.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_pspell.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_soap.dll
;extension=php_sockets.dll
extension=php_sqlite.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
;extension=php_zip.dll

to load extension=php_mbstring.dll before extension=php_exif.dll but satill no joy, is there anything else i could check to get it to work locally?

thanks guys

Graham

Options: ReplyQuote
Re: Call to undefined function exif_imagetype()
Posted by: yfastud (Moderator)
Date: March 29, 2008 12:54AM

Make sure to edit the correct php.ini and the best way is through wamp tray icon

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Call to undefined function exif_imagetype()
Posted by: graham23s (---.cable.ubr13.uddi.blueyonder.co.uk)
Date: March 29, 2008 11:06AM

Hi Mate,

yep got to it here: C:\Program Files\wamp\bin\php\php5.2.5\php.ini

the crazy thing is, it worked before i upgraded to the latest one lol

cheers

Graham

Options: ReplyQuote
Re: Call to undefined function exif_imagetype()
Posted by: yfastud (Moderator)
Date: March 29, 2008 02:11PM

Nope, it's wrong, and that's why I suggested you to open the correct file through wamp tray icon which should be in wamp/bin/apache/apache2.2.6/bin ;-)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Call to undefined function exif_imagetype()
Posted by: graham23s (---.cable.ubr13.uddi.blueyonder.co.uk)
Date: March 29, 2008 02:21PM

ahh thanks a ton mate it's workingsmiling smiley

Graham

Options: ReplyQuote
Re: Call to undefined function exif_imagetype()
Posted by: yfastud (Moderator)
Date: March 29, 2008 02:38PM


Options: ReplyQuote


Sorry, only registered users may post in this forum.