Solved

GD Library installation in PHP - Centos

Posted on 2008-06-18
15
2,054 Views
Last Modified: 2013-11-05
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?
0
Comment
Question by:alexandros_noob
  • 8
  • 4
  • 3
15 Comments
 
LVL 19

Expert Comment

by:http:// thevpn.guru
ID: 21811477
yum install php-gd
0
 

Author Comment

by:alexandros_noob
ID: 21811519
What I have to do with yum? Could you please explain it to me?
0
 
LVL 19

Expert Comment

by:http:// thevpn.guru
ID: 21811534
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
 

Author Comment

by:alexandros_noob
ID: 21811599
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
 
LVL 19

Expert Comment

by:http:// thevpn.guru
ID: 21811640
have you tried just to execute

yum install php-gd
0
 

Author Comment

by:alexandros_noob
ID: 21811651
OK Where I have to give that command?
0
 
LVL 19

Expert Comment

by:http:// thevpn.guru
ID: 21811672
in the command line shell
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:alexandros_noob
ID: 21814126
Well, i just installed  the GD library with that command. Then, i restart apache and server. Now, what I have to do?
0
 
LVL 29

Expert Comment

by:Michael W
ID: 21823404
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
 

Author Comment

by:alexandros_noob
ID: 21823463
Well, this is my results: http://208.53.183.97/~noobgr/info.php
0
 

Author Comment

by:alexandros_noob
ID: 21823477
I have to change something in cpanel's files to load the gd library?
0
 
LVL 29

Expert Comment

by:Michael W
ID: 21823514
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
 
LVL 29

Accepted Solution

by:
Michael W earned 500 total points
ID: 21823565
Since you are using cpanel & WHM, I also found this link that 'might' help:
http://www.webhostingtalk.com/showthread.php?t=515694
0
 

Author Comment

by:alexandros_noob
ID: 21829140
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
 

Author Comment

by:alexandros_noob
ID: 21831924
Well, wants and FreeType Library. I install it with the same way. Thanks!
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Fine Tune your automatic Updates for Ubuntu / Debian
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now