Guest mashurst Posted February 20, 2007 Share Posted February 20, 2007 This took me a little while to find today, so I am posting this for posterity. I recently upgraded to a virtual dedicated server from my shared hosting. The vds provider pre complied fedora core 4, but didn't enable gd support. On top of that, they also did not enable the fedora core "yum" (apt-get) command either, so I couldn't download gd from a repository to add it. Here are the commands to install yum on fedora core 4 if you have a striped down virtual dedicated server, and then the command to add gd, which is a nice thing to have with cubecart. Hope this helps someone else out. I would thank the numerous sources I compiled this from, but I don't want to give any unauthorized shout outs. The numbers below represent each command, so don't include 215,216,217 etc in your command lines. Start each one with "rpm" . . . 215 rpm -Uvh ftp://fr2.rpmfind.net/linux/fedora/core/updates/4/i386/libxml2-python-2.6.20-1.FC4.i386.rpm 216 rpm -Uvh ftp://fr2.rpmfind.net/linux/fedora/core/4/i386/os/Fedora/RPMS/python-elementtree-1.2.6-4.i386.rpm 217 rpm -Uvh ftp://fr2.rpmfind.net/linux/fedora/core/4/i386/os/Fedora/RPMS/python-sqlite-1.1.6-1.i386.rpm 218 rpm -Uvh ftp://fr2.rpmfind.net/linux/fedora/core/updates/4/i386/rpm-python-4.4.1-23.i386.rpm 219 rpm -Uvh ftp://fr2.rpmfind.net/linux/fedora/core/4/i386/os/Fedora/RPMS/python-urlgrabber-2.9.6-1.noarch.rpm 220 rpm -Uvh ftp://fr2.rpmfind.net/linux/fedora/core/updates/4/i386/yum-2.4.1-1.fc4.noarch.rpm 224 yum update yum yum install php-gd restart your server look at phpinfo and see if gd is now enabled. You can do this for other versions of Fedora, and Linux for that matter, you would just change some of the command lines to fit what you need, i.e. /fedora/core/# or your situation. Hope this helps someone. Link to comment Share on other sites More sharing options...
Guest Posted March 11, 2007 Share Posted March 11, 2007 No need to restart the server, just reload Apache. /etc/rc.d/init.d/httpd restart It'll reload Apache's and PHP's configs with your new module in place. :) Link to comment Share on other sites More sharing options...
Al Brookbanks Posted March 14, 2007 Share Posted March 14, 2007 On debian/ubuntu etc you can run. For PHP5 sudo apt-get install php5-gd /etc/init.d/apache2 restart Incase any one happens to search for it. Become a big fan of debian recently. Link to comment Share on other sites More sharing options...
Guest devstudent Posted March 20, 2007 Share Posted March 20, 2007 This was just released yesterday, or today, depending on your time zone... http://www.php-security.org/MOPB/MOPB-27-2007.html Link to comment Share on other sites More sharing options...
Al Brookbanks Posted March 20, 2007 Share Posted March 20, 2007 :D Link to comment Share on other sites More sharing options...
Guest devstudent Posted March 20, 2007 Share Posted March 20, 2007 Your response time to reply to this was like what, 30 seconds, good job, keep up the good work, it's a tough world out there. There's a Perl version of Cube cart coming out by 2010 right? Link to comment Share on other sites More sharing options...
Al Brookbanks Posted March 20, 2007 Share Posted March 20, 2007 (edited) 18 mins actually *Edit* I'd never touch Perl for web programming personally. Old & slow. Edited March 20, 2007 by Al Link to comment Share on other sites More sharing options...
Guest devstudent Posted March 20, 2007 Share Posted March 20, 2007 :D I just spent all night installing, then seen this, now I have to wait 18 minutes to figure out what I'm going to do next. My site doesn't need images for my products I'm testing, in 18 minutes I can have GD gone, mashurst did all that work to make a great post on how to install, here's my submission on how to uninstall... Right click delete :wink: Link to comment Share on other sites More sharing options...
Al Brookbanks Posted March 20, 2007 Share Posted March 20, 2007 Thread closed. :D Link to comment Share on other sites More sharing options...
Recommended Posts