PDA

View Full Version : Another Gantt problem, please help


dcarey
19-06-04, 08:00 AM
Ok my background is that i'm still very new to PHP

I'm running W2K, MySQL, IIS
my php folder is located at c:\php

so, my gantt charts don't work, all i see is a box where the image should be. So looking through the posts about gantts it seems the simple thing to do is modify the php.ini to load php_gd2.dll lib.

extension=php_gd2.dll
&
extension_dir = ./extensions/

well now i get the error:
PHP Warning: Unknown(): Unable to load dynamic library './extensions/php_gd2.dll' - The specified procedure could not be found. in Unknown on line 0

so i look in the extensions folder and the php_gd2.dll is staring right back at me. What's going on here? I also tried a lot of different extension_dir path
like
extension_dir=c:\php\extensions\
extension_dir=.\extensions\

any help would be great

miinx
20-06-04, 01:50 AM
have you tried with quotes around the path?

I'm on a similar system config & in mine I've got:
extension_dir = "c:\php\extensions"

dcarey
22-06-04, 12:03 AM
sure did, no luck.
This seems to be more of a PHP problem then a dotproject as it appears other win2k people are having problems with GD and other applications.


However if anyone else is running win2k server and has gotten the php GD libs to load, please let me know if you did anything special, (like if there are some dependences i don't know about)

Thanks

adrian.conlin
22-06-04, 01:22 AM
Did you try the full path to your php extensions directory?

My extension entries are :

extension_dir = "C:\Program Files\php-4.3.7-Win32\extensions"
extension=php_gd2.dll

And it all seems to work no problem.

I'm running Windows XP and Apache2, so slightly different to your set-up, but worth a try if you haven't already, I guess.

Cheers.

dcarey
22-06-04, 03:15 AM
:D Success :D
Just upgraded PHP from 4.3.1 to 4.3.7 and now it works.