Jump to content

how to install GD & ZZIPlib library


Recommended Posts

First step is to add PHP to the PATH Environment Variable if you havn't done so already. You must restart windows in order for the changes to take affect.

 

Next step is is find your php.ini. It should be in your PHP Installation folder. Once you have found it open it with Notepad or some other basic text editor. Scroll down until you find the following line:

; Directory in which the loadable extensions (modules) reside.

The line after it, should be like so

extension_dir = "path/to/php/ext"

The path within the quotes should point to PHP's extension folder. For example if PHP is installed to C:/php then the path should be C:/php/ext

NOTE: If you have PHP4 installed then the path should be C:/php/extensions

 

Next scroll down and find the following line:

;extension=php_gd2.dll

And remove the semi-colon ( ; ) from the start of the line. Do the same for the ;extension=php_zip.dll line too.

 

Save the php.ini and restart your http server (eg Apache, IIS etc). Verify the changes have been made by running the phpinfo() function within a script. You should find a GD and ZIP sub-heading.

 

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.