check installed extensions on php linux debian code example Example: check installed php modules in linux php -m | grep mbstring