Add a php5-curl extension to php-fpm Debian configuration
I followed the instructions here (
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?
4 Replies
It should just work…
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
*** 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
5.3.3-7+squeeze15 0
500
5.3.3-7+squeeze14 0
500
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