Ask coding questions

← Back to all posts
How to enable SoapClient for php
h
ThomasHagan (1)

Repl.it users,

I'm building a SOAP API sample for my payment gateway. I'm attempting to use SoapClient, but receiving the following error.

Error:
/sale.php - Uncaught Error: Class 'SoapClient' not found in /home/runner/sale.php:46
Stack trace:
#0 {main}
thrown in /home/runner/sale.php on line 46

Is there a way to enable SoapClient within Repl.it?

Thanks for your help,
Thomas