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-03-07 15:23:57

koffik
Member
Registered: 2019-03-07
Posts: 5

PHP 7.3 support?

Hi

I've taken over a task to update GLPI 0.90.5 setup that I have tested in a sandbox up to GLPI 9.3.3 looking forward for maybe one plugin to get updated for 9.4. I really like the improvements overall, however I'm speculating on moving the underlaying system to a PHP 7.3 environment (possibly Debian buster or FreeBSD 12). The current system is still running on Debian jessie but I'd like to move to a more recent environment.

I've found in the GLPI 9.2 release post where bumping PHP minimum version to 5.6 is mentioned and also that PHP 7.0-7.2 have been tested. However I'm not certain about the current situation with PHP 7.3.
I've tried skimming through the changelogs of GLPI 9.3 and 9.4 yet I haven't yet found a concise  answer about it.

Any hints that I may have missed?

Last edited by koffik (2019-03-07 15:24:30)

Offline

#2 2019-03-08 11:27:10

orthagh
Administrator
From: TECLIB - CAEN
Registered: 2010-11-30
Posts: 662
Website

Re: PHP 7.3 support?

Hello.

We always support the last version of PHP so yes 7.3 is ok
On our developers environnement, we have this version enabled by default.

Offline

#3 2019-03-08 14:31:11

koffik
Member
Registered: 2019-03-07
Posts: 5

Re: PHP 7.3 support?

Hi orthagh, thanks for your reply!

If I'm understanding you correctly:

  • 9.2 bumped minimum version to PHP 5.6, supported 7.0/.1/.2 (as per release announcement)

  • 9.4 was released in February 2019 and PHP 7.3 was released on 06 December 2018 (notanurl-http://php.net/releases/) therefore I'm positive that it was tested on 7.3 and should therefore work as expected

  • 9.3 however was released in June 2018 where only the very first PHP 7.3 alpha was released, this is where have my doubts about GLPI 9.3 working with PHP 7.3 (notanurl-https://wiki.php.net/todo/php73)

Sorry for being "nit-picky" about 9.3, I'd like to come up with a merge request for the docs repository in order to avoid others asking the same question again since I wasn't able to find an answer on my own. ;-)

Edit: I had to break the URLs as the forum didn't permit posting URLs

Last edited by koffik (2019-03-08 14:33:18)

Offline

#4 2019-03-08 16:08:17

orthagh
Administrator
From: TECLIB - CAEN
Registered: 2010-11-30
Posts: 662
Website

Re: PHP 7.3 support?

I have php7.3 (as many other of my team) since its alpha release, about 1 year if i remember.

Offline

#5 2019-03-11 14:02:56

koffik
Member
Registered: 2019-03-07
Posts: 5

Re: PHP 7.3 support?

Hi orthagh

Thanks for your replies. I went ahead and opened a pull request that reflects your statements. The developer who reviewed it ultimately decided he didn't like the idea of documenting a max version in the install docs since it may get out of date. I proposed that instead this information may be part of the changelogs like other projects such as Moodle or Drupal do. Again: Not desired as it may get out of date.

The ultimate reference would be the the .travis.yml file in the GLPI core repository as he mentioned.

I don't necessarily agree with that decision, but I'm not a GLPI developer, as such I accept that decision. Thanks for your inputs though. It shows that between 9.3.1 and 9.3.2 PHP 7.3 testing has been added. Unfortunately one has to register with CircleCI to see the actual CI results as they are not public without logging in.

Hope this is helpful for someone else in the future though.

Last edited by koffik (2019-03-11 14:03:24)

Offline

Board footer

Powered by FluxBB