[Solved] Mbstring not found

Hello, my beloved ttrss is no more! after i updated my system it fails. It says : “PHP support for mbstring functions is required but was not found.”

php -v
PHP 7.3.9-1~deb10u1 (cli) (built: Sep 18 2019 10:33:23) ( NTS )

Well ok let me install mbstring. Except it’s already installed.

php -m | grep mb
mbstring

So let me activate it? It was not. I had this in html log (because i setup ttrss to log there)

[Wed Oct 23 13:42:33.795120 2019] [:error] [pid 21940] [client 85.170.98.108:52710] PHP Fatal error: Uncaught Error: Call to undefined function mb_substr() in /var/www/html/ttrss/classes/logger/sql.php:16\nStack trace:\n#0 /var/www/html/ttrss/classes/logger.php(28): Logger_SQL->log_error(8192, ‘Methods with th…’, ‘lib/gettext/str…’, 145, ‘’)\n#1 /var/www/html/ttrss/include/errorhandler.php(66): Logger->log_error(8192, ‘Methods with th…’, ‘lib/gettext/str…’, 145, ‘’)\n#2 [internal function]: ttrss_fatal_handler()\n#3 {main}\n thrown in /var/www/html/ttrss/classes/logger/sql.php on line 16

So i activated.
grep extension=mbstring /etc/php/7.3/apache2/php.ini
extension=mbstring

And then i rebooted, and i still have error message

PHP support for mbstring functions is required but was not found.

But the log does not appear anymore, nothing in error.log . So i don’t know what is wrong. Maybe a version mitsmatch, a wrong link?

OS : debian 9
ttrss version: commit ae5e08fd30f620a1e5841b9d0b00675d0e1cebf9 (HEAD → master, origin/master, origin/HEAD)
Merge: 3e4701116 88077702f
Author: Andrew Dolgov [email protected]
Date: Fri Aug 16 15:29:31 2019 +0300

Did you change the right ini file? The one used by the command line (that you posted) can be different from the one used by apache. You may be better off creating a temporary phpinfo.php file (with just phpinfo(); in it) and seeing what that reports with regards to mbstring.

And do you have the mbstring module itself installed for php?

sudo apt-get install php7.3-mbstring

thanks you got it. php -v says 7.3 but opening the phpinfo file showed 7.0

PHP Version 7.0.33-0+deb9u3

while php7.3-mbstring is installed , the update removed php7.0-mbstring which is why i started having the issue. So what i needed todo is purging php7.0, then a2enmod php7.3 , then restart apache .

Once again thanks