Jump to content


gd library error

  • Please log in to reply
1 reply to this topic

#1 trillion

  • Members
  • PipPipPip
  • Advanced Member
  • 41 posts

Posted 22 September 2006 - 02:51 AM

I have been trying to install gd library on my server

I finally got it to work and all command line test were successful

gd library still not work with php though

php.ini gd line is incommented

as per http://www.phpfreaks...rials/105/0.php

I did php -m on the command line and get:

PHP Warning: Unknown(): Unable to load dynamic library './php_gd2.dll' - (null) in Unknown on line 0

How can I fix this and get gd library working with php?

#2 wildteen88

  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 22 September 2006 - 09:10 AM

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 ./ 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: C:/php/ext - (NOTE: if you have php4 you'll want to use C:/php/extensions)

When you ahve setup the extension_dir save the php.ini and restart your server.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users