wodby / php

Generic PHP docker container images
MIT License
155 stars 103 forks source link

Add option phar.readonly to php.ini #39

Closed jurgenhaas closed 6 years ago

jurgenhaas commented 6 years ago

Could you please add this option to the various php.ini files:

phar.readonly = {{ getenv "PHP_PHAR_READONLY" "1" }}

We could then change that to 0 (zero) when we have an application that needs to write to a phar file.

csandanov commented 6 years ago

Added, available since -4.6.0

jurgenhaas commented 6 years ago

Thanks for the quick turnaround, works great.