weenoid Posted March 29, 2006 Share Posted March 29, 2006 Hey, question's in the title really. I have already downloaded a zip file containing the files, but I have no idea what to do with it. I've never installed any PHP packages and i've been searching the internet and I can't find any tutorials on how to do it. Any help is very much appreciated :). Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/6112-how-exactly-do-i-install-the-gd-library/ Share on other sites More sharing options...
complex05 Posted March 29, 2006 Share Posted March 29, 2006 There should be a readme file in the zip file you downloaded.... Quote Link to comment https://forums.phpfreaks.com/topic/6112-how-exactly-do-i-install-the-gd-library/#findComment-22021 Share on other sites More sharing options...
weenoid Posted March 29, 2006 Author Share Posted March 29, 2006 Nope, nothing of the sort. Quote Link to comment https://forums.phpfreaks.com/topic/6112-how-exactly-do-i-install-the-gd-library/#findComment-22033 Share on other sites More sharing options...
lead2gold Posted March 29, 2006 Share Posted March 29, 2006 [!--quoteo(post=359747:date=Mar 29 2006, 12:57 PM:name=weenoid)--][div class=\'quotetop\']QUOTE(weenoid @ Mar 29 2006, 12:57 PM) [snapback]359747[/snapback][/div][div class=\'quotemain\'][!--quotec--]Nope, nothing of the sort.[/quote]GD comes built into PHP (the newer versions of it)you just have to enable it's extension in your php.ini. Then restart Apache.the line looks something like:;extension=php_gd2.dllchange it to:extension=php_gd2.dll Quote Link to comment https://forums.phpfreaks.com/topic/6112-how-exactly-do-i-install-the-gd-library/#findComment-22035 Share on other sites More sharing options...
weenoid Posted March 29, 2006 Author Share Posted March 29, 2006 Hey, ok sounds simple enough. Erm.... how do I get to the php.ini file? :p Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/6112-how-exactly-do-i-install-the-gd-library/#findComment-22037 Share on other sites More sharing options...
wildteen88 Posted March 29, 2006 Share Posted March 29, 2006 Are you're on a shared hosting or are on you installed PHP/Apache on your PC? If you're on a shared hosting account then you wont be able to modify the php.ini, however you could ask your host to enable it for you.However if you have installed it localy then you can eidt your php.ini file. in order to find out where your php.ini is located run the following script on your server:[code]<?php//make sure you remove the . between the p and the h before running this script!p.hpinfo();?>[/code]When you run that it should a lot of info about PHP and your server. Look for the line [ir]Configuration File (php.ini) Path[/i] which should be located about 5 or so lines from the to. Next to that should be the full path to your PHP.ini file.Hope that helps. Quote Link to comment https://forums.phpfreaks.com/topic/6112-how-exactly-do-i-install-the-gd-library/#findComment-22039 Share on other sites More sharing options...
weenoid Posted March 29, 2006 Author Share Posted March 29, 2006 Hey, ok i've got the location:/usr/local/lib/php.iniHow do I get to that folder though? Would logging in to FTP as the root user work? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/6112-how-exactly-do-i-install-the-gd-library/#findComment-22041 Share on other sites More sharing options...
wildteen88 Posted March 29, 2006 Share Posted March 29, 2006 If your on VDS then I think you might be able to access it and edit. In order find where it is use the code that I provided above in my previous post Quote Link to comment https://forums.phpfreaks.com/topic/6112-how-exactly-do-i-install-the-gd-library/#findComment-22042 Share on other sites More sharing options...
lanny Posted April 22, 2006 Share Posted April 22, 2006 my php.ini path is at c:\windows........but i cant see there is a php.ini file inside the folder...how? Quote Link to comment https://forums.phpfreaks.com/topic/6112-how-exactly-do-i-install-the-gd-library/#findComment-29617 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.