june_c21 Posted May 6, 2008 Share Posted May 6, 2008 hi, how to install GD library and ZZIPlib library in window xp i try to read in php.net but i couldn't understand. please help thanks in advance Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted May 6, 2008 Share Posted May 6, 2008 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. Quote Link to comment 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.