Jump to content

*SOLVED* Installing GD


Recommended Posts

Hi

I just installed php/mysql/apache on my brand new windows machine, and it appears that GD is not installed.  I have downloaded the install file from the site, but have no idea how to install it. 

Can anyone help me out?

Cheers
Link to comment
Share on other sites

You need to enable the gd extension. You can do this by editting the php.ini file. Find and open you php.ini file and find the following line:
[code];extension=php_gd2.dll[/code]
Now remove the semi-colon from the stat of the line.

Now you'll need to setup the extension_dir directive. You'll need to scroll up a bit an ffind the following line:
[code]extension_dir = "./"[/code]
Change ./ to the actuall location of the PHP extension folder. BY defualt it will be C:\php\ext for PHP5 or C:\php\extension for PHP4.

Once you setup the extension_dir and removed the semi-colon save your php.in iand restart yout Apache server. If you have setup the extension_dir correctly GD should be now be available.

Also Did you use the PHP installer? If you did download the zipped binaries package instead and extract the contents to where you have installed PHP to. As the installer doesn't have that many extensions/files.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.