I'm trying to install drush 7.x onto sles 12 and having a time of it.

Using the drush instructions I need to install composer first: curl -sS https://getcomposer.org/installer | php

This throws a error: The phar extension is missing - now I'm using the php (5.5.14.x) that came with sles 12 and according to PHP.net phar is included in php 5.3 and above. php.ini has a [phar] section with only 3 options. No of which seem to restrict it from being seen.

As I'm also using fpm the php.ini is in /etc/php/fpm and I tried the above command with the -c /etc/php/fpm/php.ini with the same results.

Any ideas ?