Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104042 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 52955 invoked from network); 2 Feb 2019 23:52:19 -0000 Received: from unknown (HELO mail-qk1-f170.google.com) (209.85.222.170) by pb1.pair.com with SMTP; 2 Feb 2019 23:52:19 -0000 Received: by mail-qk1-f170.google.com with SMTP id c21so6251975qkl.6 for ; Sat, 02 Feb 2019 12:32:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hTZrcTZvoYJlgjndp2EJDczVZCqW88UsoPdg4ZXF2EQ=; b=QpqXjivRanw3qopC8NVqgpkptypwMVHG3MZhQtMcEfeDnpsWpwbcHQw/mPx6qO2WF2 YowEq73cs82V+qgYLdJPn6KpkCNU27ep5d9D6pvrf1WkAAgWAp1dd9hS0IX9M1u/E1xE 0mdXcoKff/5mX61HTVceFDC8ORDbsAkKNQngQ8DZZNGfLfBQZceV8xkZBxL7+u9HdPB7 w5qpn1wt9GUfuXDpvOzlZGBYNhIn+IzHysaxU/1glU6jpqGPsSRNy+Nf/p3Fyx7hjSw2 uPq8iOigAGX/rT8IfvSjWrABE85NQZsIZzIigmF2utaD3DZQC7+yErYA7vhGziUhkebA xI3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hTZrcTZvoYJlgjndp2EJDczVZCqW88UsoPdg4ZXF2EQ=; b=VCis/6ze/IeOB/6RZZFXJaKEdziEo76PvtjWv/j8AAudt/Wz0zCpQBP7Q3/MgDrgzR I1IbF9I14Yu9GHm5bqrne8Wrm52wnnnHBGhror80dyCw2wT4bQRMMFvNBSVRmf/h1uBB BFBdMU1MFb9AdoaWFSzYEKGsxgZ4MQIqME4OCa0bYn4vCzTdttoRkjc5agM54xZr8a8I niSr50tOJs5MSFoPNrQyykfp1jxbSEBRGsAptpJtTzG87kebIybJORYo9vMP9Ya8buCT M3nkS3kKjPga7yXahCCw9L7F061t4k4RBBWYzZyJZabdonF0UZ19v+ci7hv+YRXy4sc5 vQlw== X-Gm-Message-State: AJcUukcyTneF8SAcDuqTBdJ/Ub8G0n/na09Kp/HYh86APMf6Q3OkksqU UZZnXsZViGu8y7y7dNhQpoovbqHLbgV6QRejd+A= X-Google-Smtp-Source: ALg8bN5D+8eUEB9e/WlZP3pg9vQjSMFONfBe6osbobIdg1bZYMhfPKxmmRtgA/1C8V6oxQjDQCWPRqewODH+5xhkyuU= X-Received: by 2002:ae9:ee02:: with SMTP id i2mr40199692qkg.179.1549139566620; Sat, 02 Feb 2019 12:32:46 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 2 Feb 2019 21:32:35 +0100 Message-ID: To: Peter Kokot Cc: PHP internals Content-Type: multipart/alternative; boundary="0000000000009375f80580ef296f" Subject: Re: [PHP-DEV] phpenmod/phpdismod From: legale.legale@gmail.com (Legale Legage) --0000000000009375f80580ef296f Content-Type: text/plain; charset="UTF-8" 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 > > about including them to the bundle? > > > > If the idea is worthwhile, I will make the RFC. > > > > Saluti, Ruslan > > 1. Will it work also on Alpine Linux and MacOS? From what I see, the > title of these two POSIX shell scripts is "phpenmod - a PHP module > manager for Debian" It depends on us. We can make special scripts for MacOS and even Windows :-). > 2. License MIT will cause any issues with bundling them in php-src? > License allows it. Moreover, i think the author (Ondrej Sury) will be pleased if his creation will be included in the bundle. > 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. > > What these two scripts do is they enable "extensions" on Debian > installation. For example, phpenmod ftp > Some naming conventions name the PHP extensions (bcmath, openssl, > sodium...) also "modules". So, overall, nothing very simple to create > for all operating systems. Each Linux distribution has different > package repositories, locations to shared extension ini files, so that > is in this situation probably good to be left to 3rd party repository > maintainers or the Linux distro packages maintainers themselves. > > Most likely it will not be easy. > Yes CLI tooling arsenal for more systems/devops oriented PHP world are > in need of improvements. There are many that lack handling extensions > (we were just discussing PECL for example in some other thread)... > > Perhaps the presence of such scripts in the bundle will push the unification process on different systems. In any case, you can always make your own way and not use these scripts. > -- > Peter Kokot 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 > > about including them to the bundle? > > > > If the idea is worthwhile, I will make the RFC. > > > > Saluti, Ruslan > > 1. Will it work also on Alpine Linux and MacOS? From what I see, the > title of these two POSIX shell scripts is "phpenmod - a PHP module > manager for Debian" > 2. License MIT will cause any issues with bundling them in php-src? > 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. > > What these two scripts do is they enable "extensions" on Debian > installation. For example, phpenmod ftp > Some naming conventions name the PHP extensions (bcmath, openssl, > sodium...) also "modules". So, overall, nothing very simple to create > for all operating systems. Each Linux distribution has different > package repositories, locations to shared extension ini files, so that > is in this situation probably good to be left to 3rd party repository > maintainers or the Linux distro packages maintainers themselves. > > Yes CLI tooling arsenal for more systems/devops oriented PHP world are > in need of improvements. There are many that lack handling extensions > (we were just discussing PECL for example in some other thread)... > > -- > Peter Kokot > --0000000000009375f80580ef296f--