0

I have an NGINX web-server, with php-fpm. I would like to install curl, but I’m not sure that php5-curl is the right package for my server. Should I be concerned? is there a more appropriate package? If I just install curl, with that include php libraries?

  • php5-curl is the right Package, curl is more secure and its also perfect for security reason. You can also look file_get_contents and fopen but i recommend to Install: sudo apt-get intall php5-curl – Ramesh Chand Feb 4 '16 at 8:46
  • 1
    Some hosting companies also disable the opening of URL with fopen or file_get_contents for security reasons. – Ramesh Chand Feb 4 '16 at 8:50
  • good to know, but i don’t have those issues.. – j0h Feb 4 '16 at 15:35
1

If you want to install curl PHP extension then php5-curl is the package you want. If you want to install just curl as in the command then the package name is curl.

Please learn about the basic package commands as: apt-cache show <package> and apt-cache search <pattern> and more.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.