php-gd install issues!

I have been trying for a while now to get php-gd installed. Long story short, when I go to install I get some errors (see below) that I need php-common as a dependency. php-common is already installed.

Talking on IRC yesterday, I am leaning towards this being an issue with having multiple repos installed , but am pretty stuck at this point.

Here is the output of some of the commands I am trying:

Trying to install php-gd with yum: http://pastebin.com/zN8n55xx

Trying to install php-common with yum (already installed): http://pastebin.com/Gkce7iBV

What other info would anyone else need to help me get this straitened out.

I appreciate any help you can provide.

2 Replies

So I

* removed all PHP packages with rpm -e
* removed all non centos repos
* installed everything with yum
* installed php-gd fine

Now my issue is that I get this:

Your server is running PHP version 5.1.6 but WordPress 3.5.1 requires at least 5.2.4.

I think this is why I added the other repo to begin with. Is it OK to add those repos back in and upgrade php, or will that break everything again?

@eld101:

So I

* removed all PHP packages with rpm -e
* removed all non centos repos
* installed everything with yum
* installed php-gd fine

Now my issue is that I get this:

Your server is running PHP version 5.1.6 but WordPress 3.5.1 requires at least 5.2.4.

I think this is why I added the other repo to begin with. Is it OK to add those repos back in and upgrade php, or will that break everything again?

You don't need the other repos.

Remove all the php* packages, and install the php53* packages. That will give you the (CentOS annointed) PHP v5.3 - enough to run WordPress.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct