Saturday, 9 January 2016

Symfony console no colors, symfony console progressbar on many lines

When you install symfony installer and after executing symfony command you don't see colorized help text, you might also experience problem with progress-bar on many lines. Progressbar is used when you're creating new symfony project by command symfony new myproject.

Symfony help text without colors Symfony installer progressbar on many lines, because of not installed php posix module


Both problems are probably caused by a lack of POSIX support in your php environment.

Solution

Just install php posix module.

The package named php-process in current Fedora distribution.

So you just need to do:
sudo dnf install php-process

See the result after the installation of the module:

Symfony help text with colors
Symfony progressbar after installation of php posix module


No comments:

Post a Comment