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


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to