I am using PHP 7.4 and Laravel 8 to create an app.
I am trying to send an SMS like this:
... ... $this->client = new \SoapClient('http://ippanel.com/class/sms/wsdlservice/server.php?wsdl'); $this->user = '****'; $this->pass = '****'; $this->fromNum = '****'; ... ... But I get this error:
Error: Class 'SoapClient' not found in /usr/local/lsws/IRMine/html/core/app/Classes/ippanelSMS.php
And I already installed and enabled php-soap in my server:
So what could my problem be??

;from the beginning ofextension=php_soap.dllinphp.ini? And restart your server.use SoapClient;anywhere?