Why php curl is closed why it won't open

why php curl is closed why it won’t open.
I have a php project but it doesn’t work on the site, why doesn’t it come, is it costly? I would really be very happy if it comes.

Please elaborate what happens exactly?

I want to pull data from a site and it works on localhost and other hosting but not on this one.

What error are you getting?
Try enabling PHP error messages if it doesn’t display:

Likely due to this