|
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]
|