Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

426
Views
Class 'SoapClient' not found (laravel)

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:

phpinfo

So what could my problem be??

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

First use should check your if your module is really loaded by execution this command:

var_dump(extension_loaded('soap'));

Also you should check the path of your loaded configuration

var_dump( get_cfg_var('cfg_file_path') );

It could be that the module is only activated for the CLI, so you should double check that your configuration is correct.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!