You are here: Re: [PHP] GD library images not displaying « PHP « IT news, forums, messages
Re: [PHP] GD library images not displaying

Posted by Richard Davey on 10/20/50 11:19

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация