For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > February 2007 > GD Module









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author GD Module
knindza knn

2007-02-08, 8:00 am

Dear Sir/Madam

I have asked on many forums but noone knows where the problem is, so I had
only one option left, and that is to ask you as php professionals if you
could help me with this problem, please.

I am getting error with php version 4.4.2

Fatal error: Call to undefined function: imagecreatetruecolor() in
C:\php\functions.php on line 223

*this is line 223: $dest = imagecreatetruecolor($w, $h);*


I have tried to enable gd module in php.ini I took semi colon in front of
*extension=php_gd2.dll* and i have also pointed *extension_dir* to right
folder.

*Directory in which the loadable extensions (modules) reside.
extension_dir ="C:\Program Files\Web Settings\PHP\extensions"*

i have done same thing with php.ini which i copied to windows folder .


many thanks for your help !

knindza !

Hannes Magnusson

2007-02-10, 7:00 pm

Hi knindza

I am sorry, but this mailing list is dedicated to the php.net website it self.
Please have a look at the manual, http://php.net/install.windows is a
good starting point.

If that does not answer your question then please try more appropriate
mailing list (http://php.net/mailing-lists)

-Hannes

On 2/8/07, knindza knn <knindza@gmail.com> wrote:
> Dear Sir/Madam
>
> I have asked on many forums but noone knows where the problem is, so I had
> only one option left, and that is to ask you as php professionals if you
> could help me with this problem, please.
>
> I am getting error with php version 4.4.2
>
> Fatal error: Call to undefined function: imagecreatetruecolor() in
> C:\php\functions.php on line 223
>
> *this is line 223: $dest = imagecreatetruecolor($w, $h);*
>
>
> I have tried to enable gd module in php.ini I took semi colon in front of
> *extension=php_gd2.dll* and i have also pointed *extension_dir* to right
> folder.
>
> *Directory in which the loadable extensions (modules) reside.
> extension_dir ="C:\Program Files\Web Settings\PHP\extensions"*
>
> i have done same thing with php.ini which i copied to windows folder .
>
>
> many thanks for your help !
>
> knindza !
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com