PHP Extensions config files directory?

Where can I edit the config file for extension for example the PHP-Opcache and PHP-redis to edit certain value for example, opcache.memory_consumption = …

/usr/local/lsws/lsphpXX/etc/
/usr/local/lsws/lsphpXX/etc/php.d

thankss

Hi!

This was of great help to me too.