Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu May 16, 2013 11:53 pm 
Offline
Newbie

Joined: Thu May 16, 2013 4:28 pm
Posts: 3
Hi--first time poster here, hope this is the right place for it.

I followed the instructions here (http://www.failover.co/blog/quick-setup-apache-worker-fastcgi-php-fpm-and-apc) to use apache worker,fastcgi,php-fpm and apc to get my website moving faster and it worked great.

Now I'm building an app on the site that uses php5-curl but I can't add the extension:

"sudo apt-get install php5-curl" leads to

----------
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
php5-curl : Depends: phpapi-20100525+lfs
E: Broken packages
----------

Does anyone know how to add an extension (e.g., php5-curl) to a php-fpm configuration?


Top
   
PostPosted: Fri May 17, 2013 6:20 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Which distribution/version are you running? What do you get for "apt-cache policy php5-fpm" and "apt-cache policy php5-curl" on your system?

It should just work...

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
PostPosted: Fri May 17, 2013 8:58 am 
Offline
Newbie

Joined: Thu May 16, 2013 4:28 pm
Posts: 3
Thanks hoopycat

I'm running:
Debian GNU/Linux 6.0.6 (squeeze)
Linux 3.8.4-linode50 i686
on a single Linode 1024

"apt-cache policy php5-fpm" gets:
Installed: 5.3.24-1~dotdeb.0
Candidate: 5.4.15-1~dotdeb.2
Version table:
5.4.15-1~dotdeb.2 0
500 http://packages.dotdeb.org/ stable/all i386 Packages
*** 5.3.24-1~dotdeb.0 0
100 /var/lib/dpkg/status


"apt-cache policy php5-curl" gets:
Installed: (none)
Candidate: 5.4.15-1~dotdeb.2
Version table:
5.4.15-1~dotdeb.2 0
500 http://packages.dotdeb.org/ stable/all i386 Packages
5.3.3-7+squeeze15 0
500 http://security.debian.org/ squeeze/updates/main i386 Packages
5.3.3-7+squeeze14 0
500 http://ftp.us.debian.org/debian/ squeeze/main i386 Packages


Top
   
PostPosted: Fri May 17, 2013 9:08 am 
Offline
Sysop

Joined: Sat Nov 27, 2010 3:32 am
Posts: 180
Website: https://blog.timheckman.net/
Location: San Francisco, CA
So you are using the dotdeb repo and have it set to stable, not squeeze, which means your system has now been installing dotdeb packages from Debian Wheezy instead of Debian Squeeze. That'll definitely break your packages.

I'd suggest fixing your sources.list file so that it points to squeeze, not stable, then uninstall, update, and reinstall your packages.

Alternatively, you could just move to Debian 7 (wheezy) which has FPM in the official Debian repos.

-Tim

_________________
'If debugging is the process of removing bugs, then programming must be the process of putting them in.' //Edsger Dijkstra
'Nothing is withheld from us which we have conceived to do.' | 'Do things that have never been done.' //Russell Kirsch


Top
   
PostPosted: Fri May 17, 2013 9:46 am 
Offline
Newbie

Joined: Thu May 16, 2013 4:28 pm
Posts: 3
Thanks Tim, appreciate it. I'll try the upgrade to Wheezy.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group