Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I updated php to version 5.4, through the repository ppa:ondrej/php5, but now I can not install the package php5-ffmpeg because it gives me this error: php5-ffmpeg: Depends: phpapi-20090626

also if I try to write php-v gives me this warning:

PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20100525/' - / usr/lib/php5/20100525/
can not open shared object file: No such file or directory in Unknown on line 0
5.4.17RC1 PHP (cli) (built: Jun 22 2013 19:27:26)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

Some solution?

share|improve this question

closed as off-topic by Falcon Momot, mdpc, Ward, growse, Dennis Kaarsemaker Jul 2 '13 at 19:06

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about hardware or software used in a home setting are off-topic because they require answers that may not be practical for the business and support professionals here. You should try asking on Super User instead." – Falcon Momot, mdpc, Dennis Kaarsemaker
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

Once you start installing packages outside of the core Ubuntu repositories, you sacrifice any guarantees of compatibility.

This ppa maintainer didn't create this package in a way that says that it provides phpapi-20090626, even if it actually does. Hence, any package that depends on phpapi-20090626 will not be installed.

Your options at this point are to:

  1. Find a ppa of php5-ffmpeg that doesn't require any packages you don't currently have installed.
  2. Compile and package your own version of php5-ffmpeg that doesn't require phpapi-20090626.
  3. Compile and package your own version of php5.4 so that it claims to provide phpapi-20090626 and then install the normal php5-ffmpeg.
  4. Roll back to standard core Ubuntu repositories for all packages.
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.