Page 1 of 1
[SOLVED] problem with php_gd2.dll
Posted: Thu May 04, 2006 3:31 am
by dujed
I use PHP Version 5.1.2 and Apache 2.0.55 and I try to install php_gd2.dll library.
I uncomment ;extension=php_gd2.dll , now (extension=php_gd2.dll)
Put extension=php_gd2.dll file in extension directory (extension_dir = "./")
restart apache,and GD library still not work.
Thanks
Posted: Thu May 04, 2006 4:18 am
by Benjamin
Are you on windows? On Unix systems php needs to be compiled --with-gd. Might want to try searching google.
Posted: Thu May 04, 2006 4:40 am
by dujed
I am on widows and I see a <?php phpinfo() ?> and I dont have GD section !
I have followig line in phpinfo():
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
Posted: Thu May 04, 2006 7:16 am
by s.dot
Are you sure that ./ is the path to your extensions? Look in your phpinfo() to find the extensions path then place php_gd2.dll in that path. (often times it is C:\Windows)
Posted: Thu May 04, 2006 7:53 am
by ambivalent
You probably need to specify the path to the extensions directory in your php.ini
Code: Select all
; Directory in which the loadable extensions (modules) reside.
extension_dir = "c:\path\to\ext\dir"
Posted: Thu May 04, 2006 8:47 am
by dujed
Yes I set the path of extension directory and now everything work!!!
Thanks everybody