Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

427
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda