PHP does not detect the CURL

1

Good people, I have a web server on an Ubuntu Server 16.04.2 64-bit LTS. In which I am installing the GLPI, which gives me problems because it does not detect the CURL extension, which I have installed, I have even several versions.

Here is the error:

And as I said, I have the CURL installed, here the test:

I do not know what to do anymore, the phpinfo () does not recognize me the CURL and the version of my PHP is 7.1.6 What can I do?

Thank you.

The capture of the command 'php -i | grep curl

    
asked by Soul Game 13.07.2017 в 12:45
source

1 answer

3

First try: (as root, or alternatively using sudo)

apt-get update
apt-get install php-curl

This in theory installs you the dependencies that you have apart from the extension itself (apt-get update we run it to have the repositories updated). Still in case it does not work (or I put you have not found the package), try:

apt-get install php7.0-curl

If the latter works, keep in mind that you have more than one version of php installed on your system.

    
answered by 13.07.2017 / 14:13
source