Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104047 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 66719 invoked from network); 3 Feb 2019 00:25:41 -0000 Received: from unknown (HELO mail-oi1-f196.google.com) (209.85.167.196) by pb1.pair.com with SMTP; 3 Feb 2019 00:25:41 -0000 Received: by mail-oi1-f196.google.com with SMTP id v6so8708925oif.2 for ; Sat, 02 Feb 2019 13:06:10 -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=0RNVbRBsBjQi0d+82tVwjEuunCbMrzohEGKL2xKOJSk=; b=baRk3RglBgGnW9vFeldKCNrXNEz2HXeGMQALrDoyCacoWY5clQIse7XUxh4dp3IGwH 5fclc0fyvN/jvpYe95hFoE0K1qe8KfNHZE/WoWPnngHW7J/iUNfFSi3gZNgXuDBwpoff GEYcqHuel6GaQsO8wMgeR2GlUqpFj7M02drCYCY834/BAN1uFCN627YDvRkltGu5qlnZ Hw/og4Z74SjMwx2DrKe0I5bWFoP1oiVd2m6dgxSpohzcAPKq2TEM2gvjaKLhy6Kvq+lJ vlNN6Ta4+Q8e2XrB/JB3Krk54Wsi7htu80xzsA2pGGCeJiz+piCKkmFe9HIzKezi57Js 6KeQ== 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=0RNVbRBsBjQi0d+82tVwjEuunCbMrzohEGKL2xKOJSk=; b=o7a0KI+vkTaDTjeoBo/nLSwen1maeeVhMjYZ5fVl1yz98uCTzyWI4RktOzAyfTSTJN ssmKhUNxQQR+TkJX9wR0BsqtZRS5oLfkpGxCTrkdckQy55fULXBuXHkYMXomvMYo4de9 o7LRqJnJJFUFL4cWDmGAVnPJshvZXZAOxR5q4YWRECN9QUP6uZ0Ks5DKwgONmSrc349H ECi9wRITotOCro89VEKDaL5clLNkKrtpLC509ELgnIywPKEoLaSscdNk0njITwXE7A1N SrLIirM3bq7v1O9gfJnO/+nmm5Y606id4gn5p86kT0MCrtAn2442qbS3tDOzaxehMaV0 2/fw== X-Gm-Message-State: AJcUukdwhusGZpwB/K8LraVKvLQq32/s7qgrd3RiWMnL0BuuDU0IaOEr 1na2+uC16HQCVwSuPDbwmMUk/wgBE+Pk0lhwvx0= X-Google-Smtp-Source: AHgI3IZC8zZfjoYncgUzW5fJMFw3yAWC46EonXlN9mNMC07gFvyk0kvjnejIwZJHgjOhNI7zg7ol0+mdFbVE5pfbTm4= X-Received: by 2002:aca:3fc6:: with SMTP id m189mr22825975oia.142.1549141569399; Sat, 02 Feb 2019 13:06:09 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 2 Feb 2019 22:05:58 +0100 Message-ID: To: Legale Legage Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] phpenmod/phpdismod From: peterkokot@gmail.com (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. P.S. I've found sources at Debian mainstream: https://sources.debian.org/src/php-defaults/69/php-helper/ Overall, I think this might be too Debian specific tool. PECL is something that works in similar way. And it installs entire extension from scratch together with compiling... PECL approach is something that PHP should go into. Or, the more taboo way - Composer installable extensions. There was some work done on that but it got stuck because it is very large change and now nobody knows how to do that from that step. Basically, a Composer plugin might be a better start with this. Except that here we need to understand that PHP packages on Linux distributions are already compiled and prepared for faster installation, so installing extensions with PECL is a way different approach compared to a more comfortable ways using apt/yum/dnf/pacman/brew... -- Peter Kokot