Archives: May 2014

9 articles

Execute a specific version of PHP on OVH shared server from command line

The first step is to find the right executable. For example, the default PHP executable is still in version 5.3.16: Other versions are available and we have to specify them explicitly, as we do for Apache through an .htaccess file. My scripts need at least PHP 5.4 and, to use it in CLI, we need the…

Insert text from a file recursively using sed

To add some context, my goal here was to insert a copyright statement at the start of each PHP file present in my working directory. I knew how to replace the content of a file with the sed utility, so I first started to look for a way to read input from a file. It appears that the GNU version of…

The Unconditional Basic Income could be a solution to end poverty and ensure a decent life to everyone. We have to be enough asking The European Commission for them to consider that option seriously.

Please help make pressure on UN and South Sudan neighbours to protect the people of South Sudan from genocide.