Enable SOAP extension in the server from SSH

Hey Server Guru,

Can anyone tell me how to enable/install SOAP extension in running LINUX system? One of my client just gave me SSH access to do it myself but I don’t have any clue how to enable or install SOAP extension in the server from SSH client software. I found somewhere in the internet that some commands are suggested to use like:

yum install php-soap
sudo apt-get install php-soap

But I am afraid to hit any of the commands since they are running many websites from the same server.

Can anyone please suggest me how to go?

It is kind of urgent :stuck_out_tongue:

Thank you so much in advance.

Regards,
Raju