Help with PHP Extension and Enabling CURL

Ubuntu 20.04 (LTS) x64

Hello,

I have an application installed and the support told me that the command line PHP version I am using is not having the curl support enabled and also the php imap extension is not enabled.

I would like to know how to go about getting this enabled in my virtualmin.

Thank you for your help.

You probably need to install these two packages and whatever dependencies it says.

apt-get install php-curl php-imap

2 Likes

The php curl and php imap are installed and enabled on the web server, but not for the Command Line, where the daily cron is running is what the support was telling me but not sure how to go about enabling for the command line.

not sure if this makes sense.

appreciate your input and help.

What do the following commands return

which curl
php -m | grep curl
php -v

This is what shows

You probably need to check with whoever provided you with the application as it seems you have all the bits.

Unless of course the application isn’t PHP 8.0 compatible yet.

I’m guessing this is the problem.

okay, thank you so much for your insights! Appreciate the help!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.