SLE 12 can't get phar module to work on PHP

I’m trying to install composer but I can’t get phar module to work on PHP.

The following packages were installed:

apache2-mod_php5 php5 php5-ctype php5-dom php5-ftp php5-gd php5-iconv php5-json php5-mbstring php5-mysql php5-openssl php5-pdo php5-pear php5-sqlite php5-tokenizer php5-xmlreader php5-zlib

But “php -i | grep -i -e phar” shows no result.

Any ideas?

OS: Suse Linux Enterprise 12


It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

Be sure to read the forum FAQ about what to expect in the way of responses:

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team

we ran into the same issue trying to install Composer, needed in a Web project:
The install routing repors:

Currently , PHAR (PHP archive) support is missing from SLES12, although it should be part of PHP core:

Perhaps things change, if customers report their need to SuSE (as we did): it is a decision of product management at SuSE.

Regards, Thomas

In php.ini for the cli, there is a section about phar.

phar.readonly = Off

;phar.require_hash = On

;phar.cache_list =

I’ve tried phar.readonly = On and Off, but it made no difference.

I’m also trying to install Composer.