Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 am using php 5.4.8

I download all the files on to my box and run the following

cd /tmp/php-deb-5.4.8
dpkg -i php5-common_5.4.8-1~dotdeb.0_amd64.deb
dpkg -i --force-depends *.deb
apt-get install -f

I am running this box on ec2 and using my chef recipe for installation but the problem is i get an error

Processing triggers for php5-fpm ...
* Restarting PHP5 FastCGI Process Manager php5-fpm                                                                                                                                 [fail] 
Errors were encountered while processing:

Any idea?

share|improve this question
up vote 2 down vote accepted

Don't install the packages manually. You had to explicitly ignore a bunch of warnings telling you to not do what you just did or things would break, and that's why it isn't working.

To fix the problem, follow the instructions to add to your apt sources, and then use apt-get to install the desired packages.

share|improve this answer
Michael, I am booting into the cloud and would like to install a specific version of packages. This is to prevent from upgrades that may break things, since everything is automated and I don't have a traditional colo where the server is always up and running, or am I going about this wrong? – slik Dec 13 '12 at 2:37
If you need specific versions, use apt pinning. And for the love of all that is good, don't ignore dependencies. You really do need them. – Michael Hampton Dec 13 '12 at 2:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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