K
K
Kirill Zhilyaev2017-01-31 20:14:05
PHP
Kirill Zhilyaev, 2017-01-31 20:14:05

How to configure PHP to work with curl?

With grief in half installed PHP. Google suggests:
apt-get install libcurl
Either curl or php-curl. But it ends up like this:
Unable to locate package ***
How do I enable curl in PHP?
PS phpinfo
pastebin.com/KnS2P8rG

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2017-01-31
@slo_nik

Good evening.
In the "application center", on the "other by" tab, what are the settings?
"Unable to locate package" says that there are no sources to get packages.
ps If version 16 is ubuntu, then you can configure the sources through "system settings" - "programs and updates" - "other software". What sources do you cite?

A
Anton, 2017-01-31
@karminski

apt-get install php7.0-curl

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question