how to get which module is enabled of php in terminal code example Example: check installed php modules in linux php -m | grep mbstring