Compile PHP 7 on Debian 8

Introduction

A look at PHP-5.6

On December 3 the PHP community released version 7 of this popular programming language considered to be one of the biggest updates in all history of PHP due the engine (Zend Engine) was refactored in order to achieve best performance.

Error decompressing .tar.xz file

Debian GNU/Linux

When you try to unpack a .tar.xz file you get the following error messages:

tar (child): xz: Cannot exec: No such file or directory
(child) tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

Cropping images in mass

ImageMagick

Recently a friend told me:

I have to remove the watermark of hundreds of images, you could do it with a program like GIMP but are hundreds of images, I know that you can automate this process using some commands of the ImageMagick suite; I need your help to make the script in bash.

Compile php 5.5 with apache prefork support

PHP
PHP 5.5 introduces new features and improves several existing ones but to make use of them in distributions such as Debian, CentOS, Ubuntu, Fedora we should compile it because at the moment in which I write this article PHP 5.5 has not been included in official repositories today LibreByte will show how to compile PHP 5.5 on Debian GNU/Linux.

Get the size of a directory/file on GNU/Linux

Desktops such as GNOME, KDE, LXDE, XFCE offer an easy way to determine the size of a file or directory, right-click on the file in question, select properties from the context menu, but environments servers we dont like those mentioned above so it should resort to the CLI and make use of the du command which calculates the space occupied by a file or directory