Re: [PHP-DEV] Re: phpenmod/phpdismod

2019-02-19 Thread Johannes Schlüter
On Mo, 2019-02-18 at 23:39 +0100, Legale.legale wrote: > I have made super simple OS independent phpenmod.  >   > Https://github.com/legale/phpenmod This won't replace Ubuntu's version since on Ubuntu different SAPIs use different ini dirs. Functionality-wise it is also no replacement as Ubuntu's

Re: [PHP-DEV] Re: phpenmod/phpdismod

2019-02-19 Thread Peter Kokot
On Mon, 18 Feb 2019, 23:39 Legale.legale I have made super simple OS independent phpenmod. > > Https://github.com/legale/phpenmod > On Feb 18, 2019 23:31, Gabriel Ostrolucky wrote: > > > > I'm fan of this idea. I miss this in any other non-debian distro. > > What nobody mentioned yet, similar scr

Re: [PHP-DEV] Re: phpenmod/phpdismod

2019-02-19 Thread AllenJB
Counter-view: I dislike enmod/dismod and think they're unnecessary complexity. I like that, on almost every distro, as soon as an extension is installed, it's enabled and I don't have to "jump through extra hoops". I dislike tools like this that, as I see it, have no purpose other than to avoid

Re: [PHP-DEV] Re: phpenmod/phpdismod

2019-02-18 Thread Marco Pivetta
Seems like this still modifies the environment. As a non-privileged user (such as a running production Docker environment) you: 1. cannot touch the filesystem 2. Should be able to add a single flag to the terminal, such as it currently happens with `-dextension=...`, but with opposite effect On

Re: [PHP-DEV] Re: phpenmod/phpdismod

2019-02-18 Thread Legale.legale
I have made super simple OS independent phpenmod. Https://github.com/legale/phpenmod On Feb 18, 2019 23:31, Gabriel Ostrolucky wrote: > > I'm fan of this idea. I miss this in any other non-debian distro. > What nobody mentioned yet, similar script (dockerphp-ext-enable) > is used in PHP docke

[PHP-DEV] Re: phpenmod/phpdismod

2019-02-18 Thread Gabriel Ostrolucky
I'm fan of this idea. I miss this in any other non-debian distro. What nobody mentioned yet, similar script (dockerphp-ext-enable) is used in PHP docker images. You can check them out at https://github.com/docker-library/php/blob/master/7.3/alpine3.9/cli/docker-php-ext-enable However, enabling ex