The PHP cURL Extension is required for HTTPS...

I have a Ubuntu 18.4 LAMP with a simple site to input leads via a form to WSDL.

I have been using nuSOAP for the data.

On this server, I am stuck in a loop.

If cURL is disabled I have a working site, but this WSDL error…

wsdl error: Getting - HTTP ERROR: The PHP cURL Extension is required for HTTPS or NLTM. You will need to re-build or update your PHP to include cURL or change php.ini to load the PHP cURL extension.

With cURL enabled the server gives a 500 error.

Any thoughts on this?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


What I could suggest here is:

  • First check if you have the PHP cURL module installed:
php -m | grep -i curl

Another way to check that would be to add a PHP info file in your web root directory with the following content:




And access that file via your browser and look for the cURL module.

  • If you don’t see the module installed, then you could install it with the following command:
sudo apt install php-curl

After that restart Apache:

systemctl restart apache2

If you are still getting the 500 error, I would recommend checking your error log for more information. Feel free to share the error here so that I could try to advise you further.

Hope that this helps! Regards, Bobby