Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

PHP 8 Topic is solved

Questions related to installing, updating, setting up and configuring
Post Reply
ajackson
Posts: 19
Joined: Fri Mar 22, 2024 4:59 pm

PHP 8

Unread post 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
ajackson
Posts: 19
Joined: Fri Mar 22, 2024 4:59 pm

Re: PHP 8

Unread post 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
Janusz
nuBuilder Team
Posts: 506
Joined: Fri Dec 28, 2018 1:41 pm
Location: Krakow, Poland
Has thanked: 8 times
Been thanked: 18 times

Re: PHP 8

Unread post 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)
If you like nuBuilder, please leave a review on SourceForge
kev1n
nuBuilder Team
Posts: 4291
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: PHP 8

Unread post by kev1n »

Search for mb_internal_encoding:

search.php?keywords=mb_internal_encoding
ajackson
Posts: 19
Joined: Fri Mar 22, 2024 4:59 pm

Re: PHP 8

Unread post by ajackson »

Installed php-mbstring and it worked!

Thanks as always,
Alan
Post Reply