Re: Re: phpenmod/phpdismod
| From: | Johannes Schlüter | Date: | Tue, 19 Feb 2019 17:53:23 +0000 |
| Subject: | Re: Re: phpenmod/phpdismod | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-104476@lists.php.net to get a copy of this message | ||
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 also handles
priorities (.e. to load mysqlnd befoe mysli or xml before dom) also it
doesn't handle zend_exensions.
The script also doesn't support setups where PHP is not in $PATH or has
an binary pre-/suffix (what some people do to have different versions
in $PATH)
I'd also suggest to look at
php --ini instead of php -i.
Thus the script might be useful for some setups. A generic solution
however is not trivial.
johannes