What to do when symfony cli colorization does not work on unix systems
February 21st, 2010 | by David |
I recently ran into an interesting problem: symfony wouldn’t colorize the command-line output on any recently installed openSUSE (11.2) system. At first I was totally at a loss, but after diving into the code base and doing some debugging I finally found the core of the problem: the posix PHP extension was not installed.
So if any of you experience a similar issue, check if the extension is present and loaded. On openSUSE systems it’s enough to install the php5-posix package. Looks like the package maintainers start to leave out stuff that hardly anyone uses anymore, which is basically a good thing. It just caught me on the wrong foot
I filed a ticket to include this in the symfony installation documentation because i couldn’t find it mentioned anywhere.
3 Responses to “What to do when symfony cli colorization does not work on unix systems”
By Sadri on Apr 3, 2010 | Reply
I have the same issue on fedora but no posix php package! I can live without
By Sadri on May 2, 2010 | Reply
just a follow-up on fedora 12 you just need to install php-process package : yum install php-process
By steben poul on Apr 27, 2011 | Reply
I am going to finalize my skills in the field of symfony. Thanks dude!