Re: phpenmod/phpdismod
| From: | Markus Fischer | Date: | Mon, 04 Feb 2019 07:40:13 +0000 |
| Subject: | Re: phpenmod/phpdismod | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-104098@lists.php.net to get a copy of this message | ||
Hi,
On 04.02.19 07:24, Remi Collet wrote:
Le 02/02/2019 à 20:24, Legale Legage a écrit :I find them mostly useful when developing and sometimes useful when in production to not have to navigate around the filesystem how to enable/disable. Need ensure my unit tests don't accidentally use redis? `phpdismod redis` and done. For all installed PHP versions (maybe due to using the popule Ondrey packages though). Temporarily disble opcache in production because I suspect an issue with it?These scripts are included to the standard deb/rpm packagesNo, 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 have a cost ?
phpdismod opcache, reload FPM and done. Don't have to remember which exact directory/file which is like `/etc/php/<major>.<minor>/mods-available/ .
That said, it seems really distribution specific to me too.
- Markus