Re: [PHP-DEV] phpenmod/phpdismod

2019-02-05 Thread Lester Caine
On 04/02/2019 06:24, Remi Collet wrote: P.S. I have never understand the need of such tools... did it made sense in previous century, where download have a cost ? BTW, on package linux distro, when I install a webapp which depends on some extensions, I obviously expect than everything needed is

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-05 Thread Johannes Schlüter
On Mo, 2019-02-04 at 07:24 +0100, Remi Collet wrote: >  > P.S. I have never understand the need of such tools... > did it made sense in previous century, where download have a cost ? > > BTW, on package linux distro, when I install a webapp which depends > on > some extensions, I obviously expect

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-05 Thread Legale.legale
On Feb 4, 2019 07:24, Remi Collet wrote: > > Hi, > > Le 02/02/2019 à 20:24, Legale Legage a écrit : > > These scripts are included to the standard deb/rpm packages > > No, this is a deb only stuff > > RPM installed = extension enabled. > My misstake. > > Remi > > > P.S. I have never unders

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-04 Thread Stanislav Malyshev
Hi! >> P.S. I have never understand the need of such tools... >> did it made sense in previous century, where download have a cost ? Enabling/disabling extensions can be useful for many scenario, both in testing and development - such as testing various branches of code, see proper error handling

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-03 Thread Markus Fischer
Hi, On 04.02.19 07:24, Remi Collet wrote: Le 02/02/2019 à 20:24, Legale Legage a écrit : These scripts are included to the standard deb/rpm packages No, this is a deb only stuff RPM installed = extension enabled. Remi P.S. I have never understand the need of such tools... did it made sen

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-03 Thread Remi Collet
Hi, Le 02/02/2019 à 20:24, Legale Legage a écrit : > These scripts are included to the standard deb/rpm packages No, this is a deb only stuff RPM installed = extension enabled. Remi P.S. I have never understand the need of such tools... did it made sense in previous century, where download h

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-03 Thread Lester Caine
On 03/02/2019 02:44, Walter Parker wrote: If you can make it work on MacOS, Windows, and the BSDs, then great. Otherwise, it should be left to the Linux distributions. And bare in mind that there are a number of different standards CURRENTLY used across the different LINUX distributions! The q

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-02 Thread Walter Parker
On Sat, Feb 2, 2019 at 1:06 PM Peter Kokot wrote: > >> 3. Do you know where is the source code of these two scripts? When the > >> upstream script gets updated it would be then useful to copy/paste > >> changes into php-src. So the main development should be happening > >> upstream anyway. Meanin

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-02 Thread Peter Kokot
>> 3. Do you know where is the source code of these two scripts? When the >> upstream script gets updated it would be then useful to copy/paste >> changes into php-src. So the main development should be happening >> upstream anyway. Meaning away from the PHP. > > > I don't know what to say on that.

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-02 Thread Johannes Schlüter
On Sa, 2019-02-02 at 21:52 +0100, Legale.legale wrote: > For example: > phpenmod mysqli > will try to find an extension and if it exists, script will create > related ini file in the conf.d directory. > phpdismod mysqli > will remove ini file from the conf.d dir. > > It makes a world a bit more co

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-02 Thread Legale.legale
For example: phpenmod mysqli will try to find an extension and if it exists, script will create related ini file in the conf.d directory. phpdismod mysqli will remove ini file from the conf.d dir. It makes a world a bit more comfortable for me. :-)On Feb 2, 2019 21:39, Stanislav Malyshev wrote:

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-02 Thread Stanislav Malyshev
Hi! On 2/2/19 12:34 PM, Legale Legage wrote: > These scripts allow you to enable/disable php shared extensions. What you mean by enable/disable? Could you describe a use case for why this script would be used by a developer? Or is this meant for the user - then why the script would be used by the

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-02 Thread Legale Legage
These scripts allow you to enable/disable php shared extensions. On Sat, 2 Feb 2019 at 21:00, Stanislav Malyshev wrote: > Hi! > > >> I want to propose including to the bundle phpenmod/phpdismod scripts. > These > > I'm sorry but what these scripts are? What do they do? > > -- > Stas Malyshev > s

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-02 Thread Legale Legage
On Sat, 2 Feb 2019 at 20:57, Peter Kokot wrote: > On Sat, 2 Feb 2019 at 20:24, Legale Legage > wrote: > > > > Hello, internal. > > > > I want to propose including to the bundle phpenmod/phpdismod scripts. > These > > scripts are included to the standard deb/rpm packages. What do you think > > ab

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-02 Thread Stanislav Malyshev
Hi! >> I want to propose including to the bundle phpenmod/phpdismod scripts. These I'm sorry but what these scripts are? What do they do? -- Stas Malyshev smalys...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-02 Thread Legale Legage
As a man, being a user at 99%. it has always been very important to have such useful things. At the moment bundle is already generating init.d and systemd scripts. So why not phpenmod / phpdismod? I think usability can not be too much. Sincerely, Ruslan On Sat, 2 Feb 2019 at 20:37, Joe Watkins

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-02 Thread Peter Kokot
On Sat, 2 Feb 2019 at 20:24, Legale Legage wrote: > > Hello, internal. > > I want to propose including to the bundle phpenmod/phpdismod scripts. These > scripts are included to the standard deb/rpm packages. What do you think > about including them to the bundle? > > If the idea is worthwhile, I w

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-02 Thread Joe Watkins
Hi Legale, In general we leave the packaging of PHP to the packaging experts. So I doubt if there's much need to include these in php-src, but let's see what others have to say ? Cheers Joe On Sat, 2 Feb 2019 at 20:24, Legale Legage wrote: > Hello, internal. > > I want to propose including to

[PHP-DEV] phpenmod/phpdismod

2019-02-02 Thread Legale Legage
Hello, internal. I want to propose including to the bundle phpenmod/phpdismod scripts. These scripts are included to the standard deb/rpm packages. What do you think about including them to the bundle? If the idea is worthwhile, I will make the RFC. Saluti, Ruslan