How exactly do I install the GD library?
Posted 29 March 2006 - 05:45 PM
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.
Posted 29 March 2006 - 06:06 PM
Nope, nothing of the sort.
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:
change it to:
Posted 29 March 2006 - 06:07 PM
Hey, ok sounds simple enough. Erm.... how do I get to the php.ini file? Thanks.
Posted 29 March 2006 - 06:13 PM
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:
<?php //make sure you remove the . between the p and the h before running this script! p.hpinfo(); ?>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.
Posted 29 March 2006 - 06:16 PM
Hey, ok i've got the location:
How do I get to that folder though? Would logging in to FTP as the root user work? Thanks.
Posted 29 March 2006 - 06:18 PM
Posted 22 April 2006 - 04:54 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users