denoteone Posted February 5, 2009 Share Posted February 5, 2009 If I have php5 on my server does GD library come with that? if so how do i enable it? thanks everyone Quote Link to comment https://forums.phpfreaks.com/topic/143944-gd-library/ Share on other sites More sharing options...
flyhoney Posted February 5, 2009 Share Posted February 5, 2009 It depends, but usually, yes. the best way to find out is to create a php script with one line: <?php phpinfo(); ?> This will display all the interesting details about your PHP installation. If GD is installed, you will see it there. Quote Link to comment https://forums.phpfreaks.com/topic/143944-gd-library/#findComment-755318 Share on other sites More sharing options...
denoteone Posted February 5, 2009 Author Share Posted February 5, 2009 I did that it it mentioned nothing about GD. http://videoportal.stratacache.com/phpcheck.php here is a link to the out put. so does this mean i have to install it? Quote Link to comment https://forums.phpfreaks.com/topic/143944-gd-library/#findComment-755324 Share on other sites More sharing options...
trq Posted February 5, 2009 Share Posted February 5, 2009 so does this mean i have to install it? Yep, what distro are you using? Quote Link to comment https://forums.phpfreaks.com/topic/143944-gd-library/#findComment-755326 Share on other sites More sharing options...
flyhoney Posted February 5, 2009 Share Posted February 5, 2009 On a Linux machine I believe you need to install GD and then install PHP with the '--with-gd' flag. Quote Link to comment https://forums.phpfreaks.com/topic/143944-gd-library/#findComment-755327 Share on other sites More sharing options...
denoteone Posted February 5, 2009 Author Share Posted February 5, 2009 I am using RHEL 5 Quote Link to comment https://forums.phpfreaks.com/topic/143944-gd-library/#findComment-755330 Share on other sites More sharing options...
trq Posted February 5, 2009 Share Posted February 5, 2009 On a Linux machine I believe you need to install GD and then install PHP with the '--with-gd' flag. Most distributions have precompiled binaries available through there package management. Its pretty rare you actually need to compile php unless you are building extensions or using a source based distro. I am using RHEL 5 yum install php5-gd Should get the job done. Quote Link to comment https://forums.phpfreaks.com/topic/143944-gd-library/#findComment-755334 Share on other sites More sharing options...
denoteone Posted February 5, 2009 Author Share Posted February 5, 2009 [root@www ~]# yum install php5-gd Loading "installonlyn" plugin Loading "rhnplugin" plugin This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Setting up repositories rhel-debuginfo 100% |=========================| 951 B 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 470 kB 00:00 ################################################## 1985/1985 Parsing package install arguments No Match for argument: php5-gd Nothing to do does that look right? Quote Link to comment https://forums.phpfreaks.com/topic/143944-gd-library/#findComment-755342 Share on other sites More sharing options...
trq Posted February 5, 2009 Share Posted February 5, 2009 No, thats not right. You don't have cPanel installed by chance? Quote Link to comment https://forums.phpfreaks.com/topic/143944-gd-library/#findComment-755364 Share on other sites More sharing options...
denoteone Posted February 5, 2009 Author Share Posted February 5, 2009 i do not I am using putty Quote Link to comment https://forums.phpfreaks.com/topic/143944-gd-library/#findComment-755369 Share on other sites More sharing options...
trq Posted February 5, 2009 Share Posted February 5, 2009 Oh.. Well sorry, your going to need to search for the gd package. I don't have access to a RH machine at the moment so I can't help you much. Try... yum search php gd Quote Link to comment https://forums.phpfreaks.com/topic/143944-gd-library/#findComment-755409 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.