Re: undefined GD function [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for your advice,
As mentioned, I am using IIS 5.1 and ..
the problem was solved "after" restarting my machine.
BTW, IIS can also restarted with iisreset.

Regards, Cor


----- Original Message ----- From: "Richard Lynch" <ceo@xxxxxxxxx>
To: "C.R.Vegelin" <cr.vegelin@xxxxxxxxx>
Cc: "php-general@xxxxxxxxxxxx" <php-general@xxxxxxxxxxxxx>
Sent: Tuesday, June 05, 2007 11:30 PM
Subject: Re:  undefined GD function


getimagesize is okay, because it's not really really a GD function,
even though it's lumped in there...

Did you restart Apache? (or the whole machine if you run IIS)?

On Mon, June 4, 2007 5:38 am, C.R.Vegelin wrote:
Hi All,

I am testing some GD functions, but I'm getting "undefined function"
errors.
I checked php.ini and changed
;extension=php_gd2.dll
to
extension=php_gd2.dll

The php.ini file contains: extension_dir = "c:/php/ext"
and this directory does contain php_gd2.dll (version 5.2.0.0)
I am using Windows XP, PHP 5.2.0 and IIS 5.1.

The function getimagesize($filename); is okay,
but imagecreatetruecolor($width, $height); says "undefined function".

I would appreciate some hints.

TIA, Cor






--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux