Hello Ross,

Tuesday, June 21, 2005, 4:47:40 PM, you wrote:

RT> I am running Apache 2.0 with PHP 4.2.11 on Windows XP.
RT> I installed php_gd2.dll by uncommenting extension=php_gd2.dll
RT> and making sure that the file was in my extension_dir.
RT> I restarted Apache and didn't get an error, so assumed it was working.
RT> When I run my example code:

[snip]

RT> I get the following error:

RT> Fatal error: Call to undefined function:
RT> imagecreatetruecolor() in imagetest.php on line 2

RT> This code works on other servers, so where have I gone wrong in my 
installation of GD?

Create a file with phpinfo(); in it - view it. Does it have the GD
extension listed?

Best regards,

Richard Davey
-- 
 http://www.launchcode.co.uk - PHP Development Services
 "I do not fear computers. I fear the lack of them." - Isaac Asimov

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

Reply via email to