Category Archives: Symfony2

In a current project I needed a way to replace the wording of selected form labels and messages for certain users. Symfony's translation catalogues seemed the right place to start with as I could simply add different catalogues for those users and use the translation_domain argument in forms.

After upgrading an application to Symfony 2.3.x I stumbled across this exception just the other day.
The documentation explains in detail why this can be the case and how to solve the issue.
However, it didn't work for me although ICU 4.8.1 is installed on our server which phpinfo() clearly stated but php -i | grep ICU did not.
And this was a hint to the solution: CLI and Apache use different php.ini files thus I had to provide the correct ini when invoking composer:
php -c /path/to/php.ini composer.phar install.

Woot! Look what I just found in my inbox:

SensioLabs is glad to inform you that you've been retroactively graduated the SensioLabs Symfony2 Certified Advanced Developer after you took the Symfony Certification exam between 2012 and 2013.

That makes me one happy guy!