Capifony fails on “bin/vendors install –reinstall”

Tuesday, Apr 3, 2012 10:28 pm
William Barnes

I was attempting to deploy my Symfony app using Capifony, but it just wouldn’t work. The first error in the train wreck was: “Warning: Wrong parameter count for parse_ini_file() in …/bin/vendors on line 69”. Like all problems that take forever to fix, this one was incredibly simple. My shared host had both php 5.2 and 5.3 installed. I added the following line to deploy.rb: set :php_bin, "/usr/local/bin/php-5.3"

Your path may differ.

Update: If you are having this problem, you also need to fix $interpreter in ‘bin/vendors’.