Extension in php5

how to enable extension Soap, APC, Memcache in dh in easy way.

My regards