GD Library installation in PHP - Centos

Hello! I am 100% newbie. I have a VPS with centos and cpanel. When I try to run my vbulltin forum or a contact form, the captcha doesn't work. Someone told that I have to install GD Library. Could anyone tell me, how can I install GD Library?

Or is any onther way to use the captcha?
alexandros_noobAsked:
Who is Participating?
 
Michael WorshamConnect With a Mentor Infrastructure / Solutions ArchitectCommented:
Since you are using cpanel & WHM, I also found this link that 'might' help:
http://www.webhostingtalk.com/showthread.php?t=515694
0
 
http:// thevpn.guruCommented:
yum install php-gd
0
 
alexandros_noobAuthor Commented:
What I have to do with yum? Could you please explain it to me?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
http:// thevpn.guruCommented:
yum does install packages..you have asked to install the gd library executing the command above will install the needed libraries and change your php config file to load the module.
0
 
alexandros_noobAuthor Commented:
Well. I have download yum, but how can I install the packages? And what i have to do in my php config file? I am completely newbie, sorry.
0
 
http:// thevpn.guruCommented:
have you tried just to execute

yum install php-gd
0
 
alexandros_noobAuthor Commented:
OK Where I have to give that command?
0
 
http:// thevpn.guruCommented:
in the command line shell
0
 
alexandros_noobAuthor Commented:
Well, i just installed  the GD library with that command. Then, i restart apache and server. Now, what I have to do?
0
 
Michael WorshamInfrastructure / Solutions ArchitectCommented:
To see if the GD module loaded correctly under PHP, create a simple webpage like info.php and add the following statement into it:

<?php phpinfo(); ?>

As an example of the output, use my development site to see what the above statement shows:

http://www.ignitewireless.com/info.php

0
 
alexandros_noobAuthor Commented:
Well, this is my results: http://208.53.183.97/~noobgr/info.php
0
 
alexandros_noobAuthor Commented:
I have to change something in cpanel's files to load the gd library?
0
 
Michael WorshamInfrastructure / Solutions ArchitectCommented:
It seems the php-gd library didn't take or something else isn't correctly configured. Let's first see what you currently have loaded under the CentOS rpm libraries.

Using ssh shell to the VPS you are on, run the following commands:

rpm -qa | grep php

rpm -qa | grep http

The cut/paste the output given here so we can look at it closer.
0
 
alexandros_noobAuthor Commented:
Hello! I did that http://www.webhostingtalk.com/showthread.php?t=515694  and i installed GD. But now, take a loot what appears: http://208.53.183.97/~noobgr/index.php?option=com_rsform&Itemid=61

(error message: the function imagettext does not exist)

And vbulletin does not appear the image, at all. What I have to do now?
0
 
alexandros_noobAuthor Commented:
Well, wants and FreeType Library. I install it with the same way. Thanks!
0
All Courses

From novice to tech pro — start learning today.