Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6994671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:55:18+00:00 2026-05-27T19:55:18+00:00

I am having trouble running pecl install oauth on centos 5. I installed PHP

  • 0

I am having trouble running pecl install oauth on centos 5. I installed PHP 5.3.6 using these instructions:

http://www.webtatic.com/packages/php53/

When I try to run pecl install oauth I get:

downloading oauth-1.2.2.tgz ...
Starting to download oauth-1.2.2.tgz (45,348 bytes)
.............done: 45,348 bytes
6 source files, building
running: phpize
Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
ERROR: `phpize' failed

When I try yum –enablerepo=webtatic install php-devel I get

--> Running transaction check
---> Package php-devel.i386 0:5.2.17-1.1.w5 set to be updated
--> Processing Dependency: php = 5.2.17-1.1.w5 for package: php-devel
--> Finished Dependency Resolution
php-devel-5.2.17-1.1.w5.i386 from webtatic has depsolving problems
  --> Missing Dependency: php = 5.2.17-1.1.w5 is needed by package php-devel-5.2.17-1.1.w5.i386 (webtatic)
Error: Missing Dependency: php = 5.2.17-1.1.w5 is needed by package php-devel-5.2.17-1.1.w5.i386 (webtatic)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                    package-cleanup --dupes
                    rpm -Va --nofiles --nodige
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T19:55:19+00:00Added an answer on May 27, 2026 at 7:55 pm

    Posting an answer as this would’ve been too long to respond in the comments …

    I don’t know of a specific repo where you can get the php-devel version to match your php installation, so I’m going to summarize your issue and provide the steps you could take if you wanted to reinstall php with the matching php-devel version.

    SUMMARY

    Your problem is essentially the result of CentOS 5 utilizing a very outdated version of PHP. It makes sense for the maintainers of CentOS to use an older PHP version because their goal is to provide the most stable environment possible for enterprise use.

    Owing to the outdated version of PHP it seems you have at some point updated your PHP version via an outside repository (without also installing the equivalent php-devel package). It might be difficult to find a repo where you can find the exact version of php-devel to match your php version, so the best course is to upgrade your php from another repo and simultaneously install php-devel from that same repo.

    SOLUTION

    I deal with CentOS 5 on one of my VPS servers and I’ve had success using Remi Collet’s repo to upgrade both PHP and MySQL. The following instructions are from the Repository Configuration (section 2.3) page on that site and will setup the remi.repo for your yum installation:

    su -
    cd /etc/yum.repos.d
    wget http://rpms.famillecollet.com/enterprise/remi.repo
    

    Once you’ve done that, you can then update your php installation and install the matching php-devel package using the following. Note the remi repo isn’t enabled by default, so you specify the –enablerepo flag:

    yum --enablerepo=remi-test update php
    yum --enablerepo=remi-test install php-devel
    

    This should allow you to then install the pecl oauth extension without problems. And if for some reason it doesn’t, well at least you’ll have a shiny new updated version of PHP 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having trouble running a complex query against our company LDAP server. I'm using
I tried to install the Yahoo BOSS mashup framework, but am having trouble running
Im having a little trouble with running a php script in the background. I
I am having trouble using the android SDK, and I am running it 'As
I'm having trouble with running a bare example. I'm using this to declare a
Im using Resque + RedisToGo for my background jobs. I am having trouble running
I was having some trouble running some Ruby scripts. While trying to get these
I'm using the Entity framework 3.5 and am having trouble running this query. I
I am having trouble running my asp.net mvc 2 app. using VS2010 ASP.NET Development
Is anyone else having trouble running Swing applications from IntelliJ IDEA 8 Milestone 1?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.