Page 1 of 1
PHP 7.3
Posted: Mon Dec 16, 2019 4:22 am
by bluemoon4281
Hi,
Does anyone know if nuBuilder Forte supports PHP 7.3 or what the maximum supported version is? I've searched around but couldn't come up with anything definitive.
Thanks,
Bluemoon
Re: PHP 7.3
Posted: Mon Dec 16, 2019 6:27 am
by kev1n
Hi,
7.3. works for me but I haven't tried newer versions.
Re: PHP 7.3
Posted: Mon Dec 16, 2019 9:35 pm
by Janusz
fyi
just tested the latest
PHP 7.4.0 stable release on Debian
https://www.php.net/manual/en/migration74.php
in nuBuilder works fine - no issue in Debug - everything looks OK
However when I am checking tha apache2 error logs I have following [php7:warn]
Code: Select all
Creating default object from empty value in /var/www/....../nuapi.php on line 36, referer: https://......./index.php
Creating default object from empty value in /var/www/..../nuapi.php on line 36, referer: https://....../index.php?i=2&opener=......
and in nuapi.php line 36 there is
Re: PHP 7.3 -> 7.4.1
Posted: Wed Dec 18, 2019 11:42 pm
by Janusz
Warning in apache error logs on ver 7.4 can be removed by adding
error_reporting(E_ERROR | E_PARSE); in nuapi.php
following:
https://stackoverflow.com/questions/890 ... lue-in-php
Was trying as well to modify the code: $f->forms[0] = new stdClass; as described in above link - to remove the warning but without success so far.
Except this warning everything works OK on 7.4. Time response between 7.3 and 7.4 is similar - I did not notice any difference on my application - in both cases everything works very fast.