Tag Archives: console

How to fix no colors in Symfony2 Console Component

After updating from PHP 5.4 to PHP 5.6 I saw there was no colors anymore when running commands with the console component.


This happend because I didn’t install php-poxis extension. So it was fixed by just running this Mac Ports command:

$ sudo port install php56-posix


Note: If you use another version of PHP change the version number or just use php-poxis.

Ref: http://serverfault.com/a/409966

Disable blank console in Ubuntu

This behaviour is used as a screensaver for the terminal.

To disable it Edit /etc/default/grub and add consoleblank=0 in the GRUB_CMDLINE_LINUX_DEFAULT option:



Then update grub and reboot.

sudo update-grub
sudo shutdown -r now