Cann't Build phar file
Closed this issue · 2 comments
nahid commented
I want to build a phar file. When I run command box build
it display an error look like this.
[UnexpectedValueException]
creating archive "/Users/nahid/myphar/myphar.phar" disabled by the php.ini setting phar.readonly
I set phar.readonly=Off
also but it does not work
kherge commented
Can you run php -i
and share the output? It looks like that the INI setting is not being applied to the environment you are using.
juanmaa1414 commented
Old question but the problem maybe can be the semicolon comment character in that line of php.ini.