How To Enable Php_Openssl On Linux And Use From Soapclient?

How to enable php_openssl on Linux CentOs 6.5 and use from SoapClient?

I need to use from SoapClient() in PHP, but I get the following error :

include(SoapClient.php): failed to open stream: No such file or directory

And then I tried to enable php_openssl.dll in php.ini .

I can’t find “extension=php_openssl.dll” in the php.ini file.

Then I print phpinfo() :



it is enabled!! but not works.

Can anyone help me?