Solved

Error installing extension Linux

Posted on 2016-11-24
4
83 Views
Last Modified: 2016-12-01
I´m installing oauth on my debian wheezy. But I´m unable toinitialize the module :
Module compiled with module API=20100505
PHP compiled with module API=20121212
these options need to match
my php is 5.5.38

I did pecl install oauth-1.2.3 and manual installation, but nothing. I change php.ini and php-config, but still nothing.
Any idea
0
Comment
Question by:Jose Bredariol
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 40

Assisted Solution

by:noci
noci earned 500 total points
ID: 41901281
Hm. do you have multiple versions of PHP installed?
Then pecl might have built against the wrong one...

API2010... would indicate a PHP5.4, or you may need to install a new oauth. (php updated without updating oauth?)
Did you also update php*-dev packages?

btw, don't start updating PHP API versions in config files that is a road to hell without return ticket. The api version is a way to describe capabilities.
just editing the version string does NOT changes the functionality the php executable gives.
The mismatch is just an early warning the things might not work out as expected later on. Removing the check will still cause the failures later on.
0
 

Author Comment

by:Jose Bredariol
ID: 41905578
OK, So what options I have ? can I install other php version and buld oauth ?
What I have to do to install oauth ?
0
 
LVL 40

Accepted Solution

by:
noci earned 500 total points
ID: 41905808
Did you try oauth2?  

You could try to install from pecl: http://www.mkfoster.com/2009/01/04/how-to-install-a-php-pecl-extensionmodule-on-ubuntu/

then this is the package:
https://pecl.php.net/package/oauth
0
 

Author Closing Comment

by:Jose Bredariol
ID: 41908984
Thanks all
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

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

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…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
The viewer will learn how to dynamically set the form action using jQuery.

717 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