Page 1 of 1

PHP 8

Posted: Mon Aug 12, 2024 1:00 pm
by ajackson
Does nuBuilder work with PHP 8?
I'm getting http 500 errors after installing and read a post that it was only compatible with PHP 7.
More likely though that something else is wrong, but just checking.

Cheers,
Alan

Re: PHP 8

Posted: Mon Aug 12, 2024 5:16 pm
by ajackson
More info...
I'm getting the following error when adding

ini_set('display_errors', 1);

to index.php

Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /var/www/html/nubuilder/core/nudatabase.php:3 Stack trace: #0 /var/www/html/nubuilder/index.php(12): require_once() #1 {main} thrown in /var/www/html/nubuilder/core/nudatabase.php on line 3

Re: PHP 8

Posted: Mon Aug 12, 2024 6:15 pm
by Janusz
Yes, nuBuilder work fine with the latest version of php.

Here on our demo server running with Debian ver:12.6:
https://demo.nubuilder.cloud/index.php

the following PHP version is installed:
PHP 8.3.10 (cli) (built: Aug 2 2024 16:00:00) (NTS)

Re: PHP 8

Posted: Tue Aug 13, 2024 8:06 am
by kev1n
Search for mb_internal_encoding:

search.php?keywords=mb_internal_encoding

Re: PHP 8

Posted: Tue Aug 13, 2024 9:33 am
by ajackson
Installed php-mbstring and it worked!

Thanks as always,
Alan