You are here: GD thinks it's installed, but won't work « PHP Programming Language « IT news, forums, messages
GD thinks it's installed, but won't work

Posted by Bob Baddeley on 08/11/06 19:05

I'm running PHP5 on a WinXP box using Apache2. I am having an unusual
problem and can't find a solution online at all.

I believe I have enabled the GD module properly. I modified the php.ini
and restarted apache (and later restarted my computer) to enable the
php_gd2.dll. When I run phpinfo() and gd_info() I get valid output:

Array
(
[GD Version] => bundled (2.0.28 compatible)
[FreeType Support] => 1
[FreeType Linkage] => with freetype
[T1Lib Support] => 1
[GIF Read Support] => 1
[GIF Create Support] => 1
[JPG Support] => 1
[PNG Support] => 1
[WBMP Support] => 1
[XPM Support] =>
[XBM Support] => 1
[JIS-mapped Japanese Font Support] =>
)

The problem, though, is that no gd functions work. I keep getting
"Fatal error: Call to undefined function imagecreate()" or any other
image___() functions. I've tried reinstalling php, restarting the
computer and apache, disabling and reenabling the dll, all with no
success. Does anyone have any idea why this GD installation is partial
and how I can get around it?

Thanks in advance,

Bob

 

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

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