how to view the list of packages installed in php code example Example: check installed php modules in linux php -m | grep mbstring