Im using centos os and I have to make some changes in php.ini
and set
phar.readonly = 0
in order to use phar.
I got a php.ini which is in /etc
. By changes I restart web server but when I look into phpinfo()
, nothing has changed.
when use phar in Terminal :
Fatal error : Uncaught exception 'UnexpectedValueException' with message 'creating archive "./build/myapp.phar" disabled by the php.ini setting phar.readonly'
Give some tips hints or something please, thanks
EDIT :
Loaded Configuration File: /etc/php.ini