Reputation: 1668
I have a following code in script.php:
<?php
echo "\e[0;36m Be happy ;)\e[0m";
?>
It is run like this:
~$ php script.php
On my linux mint desktop the output is colorized but on the remote server machine it is not, but when I use bash there:
~$ echo -e "\e[0;36m Be happy ;)\e[0m";
I have colorized output... I have no idea what could be wrong.
Please help.
Upvotes: 0
Views: 125