Error cURL on php74 Cyberpanel 2.3

On the latest version of Cyberpanel, I cannot install the cURL extension on php 7.4 and some other php errors lead to my website upanh.vn-t.com not working. Looking forward to help.

Thank you!

Try to SSH into the server and search for the available extensions.

e.g. in Centos

yum list available | grep lsphp74
yum install curl libcurl libcurl-devel lsphp74-curl

I use Ubuntu
I install php-zip use this command

apt install lsphp74-zip && /usr/local/lsws/bin/lswsctrl reload

Error:
E: dpkg was interrupted, you must manually run ‘dpkg --configure -a’ to correct the problem.

did you run the above and then try to reinstall?
If not, try to install php74-pecl-zip

I run command

apt install php74-pecl-zip && /usr/local/lsws/bin/lswsctrl reload

Still not working, hoping for help.

Go to “/usr/local/lsws/lsphp74/etc/php.d”
edit or create 20-zip.ini with the following contents

extension=zip.so

Go to Cyberpanel and restart php version 74

Error
error
Help me!

Welcome @thahtrung06 Happy you are here

Take a look and let me know if it helps

The problem has been resolved. Thank you very much!