I would like to know if it is possible to install GD Library and / or ImageMagick.
If yes, how do I do that (I'm a newbie, sorry).
If yes, how do I do that (I'm a newbie, sorry).
In Web Server
Share this post:
Responses (17)
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
I have a question. Once you install the GD library as instructed above (that went fine, and thanks for that), do you have to issue any commands to run it?
I am just not a gooroo (yet) and need help. I installed OSTicket today on my ClearOS system, and it has a CAPTCHA feature that when I enable it, it alerts me of an error and tells me that "The GD extension required" I then installed GD ad mentioned above and I still get the error.
Any and all help appreciated!
Thanks,
George
-
Accepted Answer
-
Accepted Answer
Thanks Tim. That didn't get it going (I still get the error), but by the looks of it it is a very useful comand to have. I am relatively new to Linux.. so I write things like this down for future use.
If you have time to glance at the osTicket app and can suggest anything else, I'd appreciate it. I am thinking I will need to download the RPM for that particular flavor of GD.. but I don't want to mess anything up. Thanks for your help. It also has an encryption module that is needed, but it will work without it.. I'd love to install that too if I knew how to do it without the risk of my ignorance messing up things.. hehe
Sincerely,
George -
Accepted Answer
Hi,
I am trying to install gd on my server, but i get the following error:
[root@hyperbase ~]# yum install php-gd
Loading "kmod" plugin
Loading "protect-packages" plugin
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package php-gd.i386 0:5.1.6-27.v5.3.1 set to be updated
--> Processing Dependency: php-common = 5.1.6-27.v5.3.1 for package: php-gd
--> Running transaction check
---> Package php-common.i386 0:5.1.6-27.v5.3.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
php-gd i386 5.1.6-27.v5.3.1 base-updates 117 k
Installing for dependencies:
php-common i386 5.1.6-27.v5.3.1 base-updates 154 k
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 271 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
Package php-cli needs php-common = 5.2.17-2.clearos, this is not available.
Package php-pdo needs php-common = 5.2.17-2.clearos, this is not available.
Package php-ldap needs php-common = 5.2.17-2.clearos, this is not available.
Package php-imap needs php-common = 5.2.17-2.clearos, this is not available.
Package php needs php-common = 5.2.17-2.clearos, this is not available.
Package php-mysql needs php-common = 5.2.17-2.clearos, this is not available.
Package php-mbstring needs php-common = 5.2.17-2.clearos, this is not available.
Any idea on how to fix this?
Not sure if this command will help:
[root@hyperbase ~]# rpm -qa | grep php-
webconfig-php-mysql-5.2.17-1.1.v5
php-common-5.2.17-2.clearos
php-imap-5.2.17-2.clearos
php-ldap-5.2.17-2.clearos
php-mbstring-5.2.17-2.clearos
app-php-5.2-10
php-kolab-2.2.0-3.2.v5
webconfig-php-5.2.17-1.1.v5
php-pdo-5.2.17-2.clearos
php-mysql-5.2.17-2.clearos
php-5.2.17-2.clearos
php-cli-5.2.17-2.clearos
webconfig-php-imap-5.2.17-1.1.v5
Is pp-php-5.2-10 and php-5.2.17-2.clearos two different versions of php conflicting with each other? If so how would I resolve this? Uninstall the older version? -
Accepted Answer
-
Accepted Answer
Hey time,
Thanks... I went the long way around
I first removed php-common (that removed everything associated with it), I then reinstalled everything that was removed from the normal repos (in case I broke lots of stuff.)
Then I used your repo, and installed it. Basically I took the long way around and it looks like this:
yum update <==----- This will take a little while
yum remove php-common <=------ this will remove a ton of stuff, including the conflicting versions
yum install php <=--- This reinstalls php
yum install php-mysql horde-imp php-ldap php-imap app-php php-mbstring app-horde php-pdo <=---- this reinstalls everything the remove command removes
yum install php-gd gd gd-devel <=------ this installs all the GD packages
However, now we are back to an older version so we need to upgrade php to the newer version:
yum --enablerepo=timb upgrade php <==--- upgraded php from your repo (except this time it did the gd libraries as well).
service httpd restart
All working
Were the GD libraries recently added because Im sure I ran the yum --enablerepo=timb upgrade php command a while back on this server, but didnt check the GD libraries. Either that or I was just being an idiot.
I meant to come back and reply to this message to update it.
service httpd restart <=-------------- this restarts apache -
Accepted Answer
-
Accepted Answer
I had this very same issue. It looks like if you do the OS upgrade first and then try to run Tim's repo, it fails with the current messages. I followed the previous poster's steps and was able to install GD cleanly. Took a day to figure out!
It's probably fine in 6.x. We're stuck with 5.2 until the update scripts are sent out for those of us using ClearBox. -
Accepted Answer
hi, im trying to install gd library and I get the following when I run yum install gd gd-devel php-gd
ERROR with rpm_check_debug vs depsolve:
Package php-pdo needs php-common = 5.3.8-5.clearos, this is not available.
Package php-cli needs php-common = 5.3.8-5.clearos, this is not available.
Package php-ldap needs php-common = 5.3.8-5.clearos, this is not available.
Package php-mbstring needs php-common = 5.3.8-5.clearos, this is not available.
Package php needs php-common = 5.3.8-5.clearos, this is not available.
Complete!
I have confirmed that I have php-common 5.3.8-5.clearos installed
what am I doing wrong here -
Accepted Answer
-
Accepted Answer
ok, I got that installed, but now im trying to install php-xml and am getting the same issues.
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
Package php-pdo needs php-common = 5.3.8-5.clearos, this is not available.
Package php-cli needs php-common = 5.3.8-5.clearos, this is not available.
Package php-ldap needs php-common = 5.3.8-5.clearos, this is not available.
Package php-mbstring needs php-common = 5.3.8-5.clearos, this is not available.
Package php needs php-common = 5.3.8-5.clearos, this is not available.
Package php-gd needs php-common = 5.3.8-5.clearos, this is not available.
Complete!
I need to install php-xml and php-mcrypt
any ideas how I can fix this? im trying to install ajaxplorer -
Accepted Answer
-
Accepted Answer
The second post in this thread had it?
http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,17/func,view/id,3179/#3241 -
Accepted Answer
Tim,
I'm trying to install php-dom, php-mcrypt and php-gd for a magento install on Clearbox running 5. I have installed and upgrade PHP using you timb-testing repo but now get the following (same as above) when trying to install the modules. any idea how to correct this?
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
php-mcrypt i686 5.3.8-5.clearos timb-testing 46 k
php-xml i686 5.3.8-5.clearos timb-testing 209 k
Installing for dependencies:
php-common i686 5.3.8-5.clearos timb-testing 989 k
Transaction Summary
=============================================================================
Install 3 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
Package php-pdo needs php-common = 5.3.19-1.clearos, this is not available.
Package php-cli needs php-common = 5.3.19-1.clearos, this is not available.
Package php-mbstring needs php-common = 5.3.19-1.clearos, this is not available.
Package php-ldap needs php-common = 5.3.19-1.clearos, this is not available.
Package php needs php-common = 5.3.19-1.clearos, this is not available.
Package php-imap needs php-common = 5.3.19-1.clearos, this is not available.
Complete!
Thanks!
Jeff
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »