Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted December 29, 20204 yr Hello, any ideas what could cause 500 error when i am changing php version to 7.3 or higher? Forum runs on CentOS 8, Webmin/Virtualmin. By default highest php version was 7.2.24 and i installed 7.3, 7.4 and 8.0 dnf -y install http://rpms.remirepo.net/enterprise/remi-release-8.rpm && dnf clean all dnf -y install php73-php-{cli,pdo,fpm,zip,gd,xml,mysqlnd} dnf -y install php74-php-{cli,pdo,fpm,zip,gd,xml,mysqlnd} dnf -y install php80-php-{cli,pdo,fpm,zip,gd,xml,mysqlnd} But forum runs only on default 7.2.24. I am new to CentOS, Webmin/Virtualmin, so maybe there are some settings i should change after installing PHP?
December 29, 20204 yr Author [Tue Dec 29 13:43:37.583029 2020] [proxy_fcgi:error] [pid 98840:tid 140551026292480] [client xx.xxx.xxx.xxxx:62371] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function IPS\\mb_internal_encoding() in /home/xxxxxxxx/public_html/init.php:541\nStack trace:\n#0 /home/xxxxxxxx/public_html/init.php(1532): IPS\\IPS::init()\n#1 /home/xxxxxxxx/public_html/index.php(12): require_once('/home/xxxxxxxx...')\n#2 {main}\n thrown in /home/xxxxxxx/public_html/init.php on line 541\n'
December 29, 20204 yr Community Expert Your new PHP version is missing the mbstring extension, it may be missing more too. I would recommend running the compatibility checker - Note: PHP 8.0 is not supported at this time.
December 29, 20204 yr Author Installed mbstring extension and now forum works. Thank you. Had to run: dnf install php-mbstring And then: dnf install php72-php-mbstring for 7.2 php73 for 7.3 and so on And here is result from checker and seems that everything else is fine.
December 29, 20204 yr Author While this version is compatible, we recommend version 5.6.2 or above... If v8.0 for php is not supported, then what is highest supported (recommended) for MySQL/MariaDB?
January 27, 20214 yr Author On 1/24/2021 at 5:36 AM, MEVi said: You tried to disable HTACCESS ? About database you have change to InnoDB Problem solved. PHP version was missing the mbstring extension.