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