Module soap already loaded check code example
Example: PHP Warning: Module 'soap' already loaded in Unknown on line 0
php -r "phpinfo();" | awk '/^Loaded|^Scan/ {print $NF}'
php -r "phpinfo();" | awk '/^Loaded|^Scan/ {print $NF}'