check installed php packages code example Example: check installed php modules in linux php -m | grep mbstring