FHaze
1
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
system
2
FHaze,
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:
http://forums.suse.com/faq.php
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
http://forums.suse.com
swadm
3
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]
; http://php.net/phar.readonly
phar.readonly = Off
; http://php.net/phar.require-hash
;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.