Aller au contenu

Do you support web service protocols for PHP?

Ce contenu n’est pas encore disponible dans votre langue.

Yes. PHP on Ruachost hosting supports common web service protocols, including SOAP and XML-RPC. You can also call and build REST APIs over HTTPS with PHP’s standard tools, such as cURL and JSON.

  • Your PHP scripts can connect to external services (for example payment gateways, shipping providers or government APIs) that use SOAP or XML-RPC.
  • You can publish your own web service from your hosting account.
  • Applications such as WordPress, which use XML-RPC, work as normal.

PHP extensions are managed per PHP version. If your script reports that a class such as SoapClient is not found:

  1. Log in to cPanel.
  2. Open Select PHP Version.
  3. Click Extensions and make sure the extension you need (for example soap or xmlrpc) is ticked.

See Changing PHP versions and settings using PHP Selector.

If you still can’t find what you need, contact support.

Cette page vous a-t-elle aidé ?