php - Call to undefined function imagecreatefrompng()
Windows server 2008 R2 IIS PHP 5.6.18
phpinfo GD section - Yes it is installed
GD Support enabled GD Version bundled (2.1.0 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.6.2 GIF Read Support enabled GIF Create Support enabled JPEG Support enabled libJPEG Version 9 compatible PNG Support enabled libPNG Version 1.5.26 WBMP Support enabled XPM Support enabled libXpm Version 30411 XBM Support enabled WebP Support enabled
IUSR and other service accounts have rights to gd2.dll Checked that the php.ini is correct one.
Can anyone think of why I get the error. It's driving me mad.