cURL not available, please install cURL and try again!

Robdenio

New Member
I've been searching the web for hours trying to figure out a solution but cant for the life of me figure out how to fix this issue.

I believe i have found what the issue is *see image below*
Not all of MailWizz components have been installed.



I'm using a digital ocean VPS - This is the first time i have ever used a vps, so this is completely new to me.

When i try to activate MailWizz i get this error



This obviously correlates to the first image, not all components are installed, but i don't have a clue how to install them and where. If anyone has a moment i would really appreciate your help.

I have attached more images with server information etc.



 
Okay, then i think, from command line you can install the missing extensions with:
Code:
apt-get install php-gd2 php-curl php-zip php-pecl-zip
Then restart the web server with:
Code:
systemctl restart httpd nginx

It's fine if some of the above commands tell you that a package has not been found or a service is unknown.
 
root@box:~# apt-get install php-gd2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php-gd2
root@box:~# php-pecl-zip
php-pecl-zip: command not found
root@box:~# apt-get install php-gd2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php-gd2
root@box:~# apt-get install php-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-curl is already the newest version (2:7.4+71+ubuntu18.04.1+deb.sury.org+1).
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
root@box:~# apt-get install php-zip
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-zip is already the newest version (2:7.4+71+ubuntu18.04.1+deb.sury.org+1).
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
root@box:~# apt-get install php-pecl-zip
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php-pecl-zip
root@box:~# systemctl restart httpd nginx
Failed to restart httpd.service: Unit httpd.service not found.
Failed to restart nginx.service: Unit nginx.service not found.
root@box:~#
 
Hey Rob, I had the same issue with a DO server yesterday.

Via ssh run the following two commands:

sudo apt update

then

sudo apt install curl

Cheers
 
I managed to sort the problem.

I created new server with centos instead of ubuntu and installed perfectly
Run these commands and it should solve the problem
  1. First install CURL by typing sudo apt install curl.
  2. Then Restart Apache by typing sudo service apache2 restart.
  3. Then install PHP5 CURL by typing sudo apt install php7.2-curl ( this depends on the version of php you have you can check by running command php --version)
  4. Then Restart Apache by typing sudo service apache2 restart.
 
@twisted1919

I had the same problem of
cURL not available, please install cURL and try again
I ran the following commands:
1. sudo apt-get update
2. sudo apt-get install php7-curl
nothing happened

then restarted the apache server with the following command
1. sudo service apache2 restart
2. /etc/init.d/php7.0-fpm restart
the putty command showed ok restarting

Now I could no longer access my digital ocean vps server. It says this site can't be reached. Did i mess up my VPS server?

Please help
 

Attachments

  • Apache server restart using putty.jpg
    Apache server restart using putty.jpg
    74 KB · Views: 7
Are you sure you're using apache and not nginx?
systemctl stop apache2 && systemctl start nginx
 
Are you sure you're using apache and not nginx?
systemctl stop apache2 && systemctl start nginx
License not found.png
@twisted1919
I'm back on my server, but got stuck anew saying---- License not found, maybe you should contact Envato Support about this issue!
I bought mailwizz from envato but coudnt find the issue on their knowledge base on how to solve this problem. Can you check it from your end why my license could not be found? I could pm you my license number if you need it for verification purposes. Attached is the screenshot of my problem
 
Hi, I am also having the same issue: cURL not available, please install cURL and try again!.
Tried almost everything available here and on internet. Please help.
I am using Digital Ocean VPS Ubuntu.
 
'm back on my server, but got stuck anew saying---- License not found, maybe you should contact Envato Support about this issue!
I checked the license and it is valid, i also had @laurentiu try a fresh install with your license and it worked.
Do you still have issues? If you do, please open a support ticket and include the details so we can check this.

Hi, I am also having the same issue: cURL not available, please install cURL and try again!.
Tried almost everything available here and on internet. Please help.
I am using Digital Ocean VPS Ubuntu.
As i said previously, this is because your php is missing the curl extension, does not matter if you have curl installed on the server, if the php extension is missing, you'll get this error. See https://www.digitalocean.com/community/questions/curl-is-not-installed-in-your-php-installation maybe.
 
@twisted1919

I still can't move forward, the error is still this...."License not found, maybe you should contact Envato Support about this issue!"

I sent a ticket to codecanyon (envato) coz there is where i bought this mailwizz EMA. They said it might take them 7 days to reply due to the volume of tickets they are handling right now.
 
@ronball - we'll handle this for you in a way or another, check your ticket ;)

@twisted1919,
Thank you very much again…
My license is ok now.

I was finally able to move forward...my next issue are the following:

I did the below command to fix the Zip Archive Error
sudo apt-get install php7-zip
Error that showed after the command: unable to locate package php7-zip

I also did the below command to fix the Imap Extension Error
sudo apt-get install php7-imap
Error that showed after the command: unable to locate package php-imap

I reset the apache server with the below commands
sudo service apache2 restart
/etc/init.d/php7.0-fpm restart

The problem didn’t get fixed because of the errors that showed up in the putty screen.

Please help
 

Attachments

  • Zip archive (Failed) & Imap Extension (Warning) picture.jpg
    Zip archive (Failed) & Imap Extension (Warning) picture.jpg
    345.4 KB · Views: 8
  • Zip archive (Failed) & Imap Extension (Warning)2.png
    Zip archive (Failed) & Imap Extension (Warning)2.png
    35.6 KB · Views: 7
@twisted1919
Thank you for all the help so far.

Today I tried to encrypt my domain with Let's encrypt and it was successful, but....my domain still shows "not secure" though i have refreshed it many times

The second problem is I always get disconnected from my vps. Could you help me on this? Or is this an issue of my vps provider?

SSSL failed encryption and constant VPS disconnection.png
 
Back
Top