php -i
-- общая информация
php -m
-- список подключённых модулей
Подробнее: http://php.net/manual/ru/features.comman...