You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2019-07-11 08:54:21

alientm
Guest
Registered: 2014-07-07
Posts: 42

Update from 9.4.2 to 9.4.3 (curl missing)

Version 9.4.2 works without a problem

I want to do update to version 9.4.3. The installer communicates to me that there is a missing plugin curl.


# php -v
PHP 7.3.7-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jul 10 2019 06:54:26) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.7-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies

# php -m | grep -i curl
curl

cur.png


GLPI 9.4.2 + FusionInventory 9.4+1.1 on Ubuntu 16.04

Offline

#2 2019-07-16 15:12:07

xquasar
Member
Registered: 2019-05-21
Posts: 10

Re: Update from 9.4.2 to 9.4.3 (curl missing)

Hello,

I have the same error.

Offline

#3 2019-10-14 13:43:28

alientm
Guest
Registered: 2014-07-07
Posts: 42

Re: Update from 9.4.2 to 9.4.3 (curl missing)

Is there any solution to this problem? Now trying to update to GLPI 9.4.4 - same problem.


GLPI 9.4.2 + FusionInventory 9.4+1.1 on Ubuntu 16.04

Offline

#4 2019-10-14 13:44:25

alientm
Guest
Registered: 2014-07-07
Posts: 42

Re: Update from 9.4.2 to 9.4.3 (curl missing)

php -v
PHP 7.3.10-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Oct  8 2019 05:33:10) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.10, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.10-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies

php -m | grep -i curl
curl


GLPI 9.4.2 + FusionInventory 9.4+1.1 on Ubuntu 16.04

Offline

#5 2019-10-14 20:21:22

makeijan
Guest
From: Pontevedra, Galicia
Registered: 2008-01-29
Posts: 324
Website

Re: Update from 9.4.2 to 9.4.3 (curl missing)

Hi,

On Ubuntu

sudo apt install php-curl

Cheers,

Offline

#6 2019-10-15 13:31:19

alientm
Guest
Registered: 2014-07-07
Posts: 42

Re: Update from 9.4.2 to 9.4.3 (curl missing)

php -v
PHP 7.3.10-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Oct  8 2019 05:33:38) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.10, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.10-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies

--------------------------------------------

php -m
[PHP Modules]
calendar
Core
ctype
curl
date
dom
...
--------------------------------------------

apt list --installed | grep php7.3

.....
php7.3/bionic,bionic,now 7.3.10-1+ubuntu18.04.1+deb.sury.org+1 all [zainstalowany,automatycznie]
php7.3-cli/bionic,now 7.3.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [zainstalowany,automatycznie]
php7.3-common/bionic,now 7.3.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [zainstalowany,automatycznie]
php7.3-curl/bionic,now 7.3.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [zainstalowany]
php7.3-gd/bionic,now 7.3.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [zainstalowany,automatycznie]
php7.3-imap/bionic,now 7.3.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [zainstalowany,automatycznie]
.....

--------------------------------------------

sudo apt-get install curl
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
curl is already the newest version (7.58.0-2ubuntu3.8).

-------------------------------------------

sudo apt-get install php7.3-curl
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
php7.3-curl is already the newest version (7.3.10-1+ubuntu18.04.1+deb.sury.org+1).


GLPI 9.4.2 + FusionInventory 9.4+1.1 on Ubuntu 16.04

Offline

#7 2019-10-15 13:43:42

alientm
Guest
Registered: 2014-07-07
Posts: 42

Re: Update from 9.4.2 to 9.4.3 (curl missing)

sudo apt-get install php-curl
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
php-curl is already the newest version (2:7.3+69+ubuntu18.04.1+deb.sury.org+2+php7.3).


GLPI 9.4.2 + FusionInventory 9.4+1.1 on Ubuntu 16.04

Offline

#8 2019-10-17 09:17:39

Kaya84
Member
Registered: 2019-06-13
Posts: 33

Re: Update from 9.4.2 to 9.4.3 (curl missing)

Create a page test.php and write inside
<?php
phpinfo();
?>
and check the output in a browser if curl is really there.
Sometimes someone forget that the ini files of the modules are 2 : one for the cli and one for the browser

Offline

#9 2019-10-18 13:44:54

alientm
Guest
Registered: 2014-07-07
Posts: 42

Re: Update from 9.4.2 to 9.4.3 (curl missing)

Kaya84 wrote:

Create a page test.php and write inside
<?php
phpinfo();
?>
and check the output in a browser if curl is really there.
Sometimes someone forget that the ini files of the modules are 2 : one for the cli and one for the browser


Test:

PHP Version 7.1.32-1+ubuntu18.04.1+deb.sury.org+1


Additional .ini files parsed    /etc/php/7.1/apache2/conf.d/10-mysqlnd.ini, /etc/php/7.1/apache2/conf.d/10-opcache.ini, /etc/php/7.1/apache2/conf.d/10-pdo.ini, /etc/php/7.1/apache2/conf.d/15-xml.ini, /etc/php/7.1/apache2/conf.d/20-calendar.ini, /etc/php/7.1/apache2/conf.d/20-ctype.ini, /etc/php/7.1/apache2/conf.d/20-curl.ini ....


I understand that my apache is still using php 7.1 ...


GLPI 9.4.2 + FusionInventory 9.4+1.1 on Ubuntu 16.04

Offline

#10 2019-10-18 14:03:37

alientm
Guest
Registered: 2014-07-07
Posts: 42

Re: Update from 9.4.2 to 9.4.3 (curl missing)

sudo a2dismod php7.1
sudo a2enmod php7.3
sudo service apache2 restart

test site:
PHP Version 7.3.10-1+ubuntu18.04.1+deb.sury.org+1

curl - ok

glpi version GLPI 9.4.4 works, thank you very much for your help.


GLPI 9.4.2 + FusionInventory 9.4+1.1 on Ubuntu 16.04

Offline

Board footer

Powered by FluxBB