Enable OPcache

The opcache:enable command allows you to enable PHP OPcache on a server.

ploi opcache:enable

Enable OPcache on a specific server:

ploi opcache:enable --server=blue-ocean

Options

OptionDescription
--server=The server name or ID

OPcache improves PHP performance by storing precompiled script bytecode in shared memory.