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.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.