PDA

View Full Version : Gd


mr_ego
11-06-2002, 01:21 AM
I put php_gd.dll in C:\PHP and C:\WINNT and got rid of ; infront of the extention=php_gd.dll in php.ini and the GD isnt working.

The following error message is produced:

X-Powered-By: PHP/4.2.3 content-type: image/png
Fatal error: Call to undefined function: imagecreate() in
c:\inetpub\wwwroot\gd_test.php on line 5
PHP Warning: Unable to load dynamic library './php_gd.dll' - The specified
procedure could not be found. in Unknown on line 0

I did not install php with the argument "--width-GD". Do I need to reinstall? Is there another opinion?

Nightfire
11-06-2002, 02:16 AM
Did you out the dll into the c:\php\extensions directory?

mr_ego
11-06-2002, 06:42 AM
I just did ... and it still isnt working.
There was no "extensions" folder in the first place.

Anything else i could do?

mr_ego
11-06-2002, 07:01 AM
Here is the solution:

I had to chance the directory that extentions points to

C:\PHP\extentions\





Thanks whoever helped, you did guide me. :D