Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

425
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda