27 May 2015, 09:30

Around the Web - May 2015



  • A day at Devoxx France (in French) : a summary from Xebia about the Devoxx France conference (Java based but not only) and their findings.
  • Mix-IT Web was in Lyon in April, and the M6 Web tech team wrote a feedback in French - Day 1 - Day 2 ; it deals both with tech and agile topics.




  • The Apple Watch: User-Experience Appraisal : a review on how you app should behave (or not behave) on the new Apple IWatch ; transition with iPhone is also managed and the way to dealt with content and how you should manage your interactions.

Web performance

NoSQL, ElasticSearch

  • Elastic released a new (commercial) plugin for ElasticSearch caled "Watcher" and which aims to raise "alerts" when some events occured and according to some conditions, it may generate an action (email being sent, interaction with another system, etc).
  • M6 Web Tech team published a video (in French) about an introduction to Cassandra.


  • Indoor geolocation technology : article (in French) about indoor geolocation technology, describing and comparing Wifi vs NFC vs Beacon vs Magnetic field to provide geolocation.

27 Sep 2014, 09:04

PHP 5.5.17 (dotdeb) pour cubietruck (armhf)

Je continue dans ma quête des paquets manquants pour mon hébergement sur ma cubietruck ; cette fois-ci, la recette à suivre pour avoir PHP 5.5.17, tel que packagé par dotdeb (pour architecture i386/amd_64) que je voulais réutiliser sur ma cubietruck.

!!! Even if based on dotdeb packaging, dotdeb is not responsible in any ways for the package you may build with this method !!!

### Add dotdeb src files in /etc/apt/sources.list.d/dotdeb.list with :
deb-src http://packages.dotdeb.org wheezy all
deb-src http://packages.dotdeb.org wheezy-php55 all

### Add dotdeb key wget http://www.dotdeb.org/dotdeb.gpg sudo apt-key add dotdeb.gpg ### Update your package list and prepare build environment
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential fakeroot

### Get dependencies
sudo apt-get build-dep php5

### compile PHP5
cd /tmp
apt-get source --compile php5

### create own repository sudo mkdir /var/local/repository sudo echo "deb [ trusted=yes ] file:///var/local/repository ./" > /etc/apt/sources.list.d/my_own_repo.list sudo mv /tmp/*.deb /var/local/repository/ cd /var/local/repository sudo dpkg-scanpackages ./ > Packages && gzip -f Packages ### Update your package list sudo apt-get update ### install PHP sudo apt-get install php5 php5-fpm php5-cli ...
### List of generated packages :


Pour ensuite avoir les extensions PECL

sudo aptitute install php-pear

Pour imageMagick en particulier

### Get dependencies
sudo apt-get install libmagickwand-dev libmagickcore-dev imagemagick

## Get debianize script
wget https://raw.githubusercontent.com/gplessis/dotdeb-php5-pecl/wheezy-php55/debianize
chmod +x debianize

### Define some variables
export DEBFULLNAME="Your Self"
export DEBEMAIL="Mail@Some.Where"

### Grab pecl archive
pecl download imagick
tar xzf imagick-3.1.2.tgz

### Build package (as root)
./debianize imagick-3.1.2

### Result
=> php5-imagick_5.5.17-1~dotdeb.1_armhf.deb

19 Feb 2013, 21:21

SQL Filter bypass

A series of (interesting) articles on SQL injection on how to bypass filters :

$Even if most of the cases are available for MySQL and in a PHP context, you may be interesting to have a look at some examples to rethink about the way you do your sql queries based on what you get from your app or the user (via forms or manual url guessing)

15 Jan 2013, 08:35

PHP 5.2 / 5.3 / 5.4

I read a reminder on the PHP support policy last week and thought it could be worth a reminder here :

  • PHP 5.2 version are no longer supported since 2 years with the release of PHP 5.2.16 on mid dec 2010 and the PHP Team to announce the end of support of PHP 5.2.x (even if PHP 5.2.17 was released in january 2011 ) It's time to consider upgrading to PHP 5.4 as soon as possible.
  • First version of PHP 5.4 was released in March 2012 and we are now on PHP 5.4.10 (released end decembre 2012)
  • I would not recommend using PHP 5.3 as first version is from end June 2009 and currently PHP 5.3.20 and most of all, PHP 5.3 support may be dropped with the coming release of PHP 5.5 (currently on alpha2 stage)

So the good resolution for 2013 is to use PHP 5.4 and nothing else, some guide to migrate :

Some may say that :

  • Their favorite OS does not provide the 5.4.x version by default - you may find them on community repositories for your favorite linux distribution and for Windows (but who does PHP on windows ?), php.net provide windows binaries.
  • Their favorie PHP libraries / CMS / ... does not support PHP 5.4 yet - it's time to pressure them or would be the only exception to stick with PHP 5.3 til PHP 5.4 is supported.

Nevertheless, a few community repositories I can recommend for gerting PHP 5.4 :

  • CentOS/RedHat/Fedora : Remi's RPMs - for Fedora, depending on the version you use, it may be already up to date.
  • Debian: DotDeb.org

[Edit 1] : Regading PHP 5.3 End Of Life, looks it would be security fixes ony (so no bug fix nor evolution) for one year once PHP 5.5 is released.

[Edit 2] : Here we are : PHP 5.5 is released (Changelog) and PHP 5.3 is no longer supported except for security bugs for 1 year.