For the web component, create e.g. an info.php file on your web server which contains the following code and open it with a browser:
<?php phpinfo() ?>
For the cli component run the following command:
php -m
The relevant modules are:
- APCu -> Zend OPcache
- Redis -> redis