Re: GD library images not displaying
| From: | Richard Davey | Date: | Tue, 21 Jun 2005 15:54:10 +0000 |
| Subject: | Re: GD library images not displaying | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-217321@lists.php.net to get a copy of this message | ||
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