I'm using the PHP build system phing
to create a phar
archive file.
Is there any known science that will let me automatically set the phar.readonly
to 0
(which will allow the creation of phar
to know) during a run of phing
, but leave it set to 0
at all other times?
php -dphar.readonly=0
as interpreter – Adamok#!/.../bin/php -Cdphar.readonly=0
then. (If it's for distribution, I'd edit it in place. Otherwise defining aphp
orphing
shell wrapper would be easiest.) – Adamok