GD2 extension not working on PHP for Windows
Posted on 2011-09-06
I am used to ASP, rather than PHP, so I am not experinced in PHP.
I am trying to migrate a PHP site from a Linux server to my Windows Server. Most of the site is working, but I am getting the following error:
PHP Fatal error: Call to undefined function imagecreatetruecolor() in D:\InetPub\Hiltfields\www\hfadmin\thumbnailer.php on line 27
I have confirmed that my php.ini contains:
I have also confirmed that there is a file called php_gd2.dll in C:\PHP5\ext
I don't know if this is relevant, but I tried to regsvr32 on php_gd2.dll and I get:
LoadLibrary("C:\PHP5\ext\php_gd2.dll") failed - The specified module could not be found.
What else do I need to do.