trillion Posted September 22, 2006 Share Posted September 22, 2006 I have been trying to install gd library on my serverI finally got it to work and all command line test were successfulgd library still not work with php thoughphp.ini gd line is incommentedas per http://www.phpfreaks.com/tutorials/105/0.phpI did [b]php -m[/b] on the command line and get:[b]PHP Warning: Unknown(): Unable to load dynamic library './php_gd2.dll' - (null) in Unknown on line 0[/b]How can I fix this and get gd library working with php? Quote Link to comment https://forums.phpfreaks.com/topic/21614-gd-library-error/ Share on other sites More sharing options...
wildteen88 Posted September 22, 2006 Share Posted September 22, 2006 What is the extension_dir setting set to in the php.ini? And where is you php.ini located to?if the extension dir is set to [b]./[/b] you'll have to setup the extension dir. So change to ./ to the full path where your php extensions folder is, for example if you installed php in the root of the hard drive, then the location to the extension folder would be: [b]C:/php/ext[/b] - (NOTE: if you have php4 you'll want to use [b]C:/php/extensions[/b])When you ahve setup the extension_dir save the php.ini and restart your server. Quote Link to comment https://forums.phpfreaks.com/topic/21614-gd-library-error/#findComment-96569 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.