Questions tagged [mbstring]

MultiByte String in PHP

Related topics:

195 questions
0
votes
0 answers

phpMyAdmin-php81-4.9.10 got error Call to undefined function Symfony\Polyfill\Mbstring\iconv_strpos()

when running phpMyAdmin-php81-4.9.10, got the following error I have php8.1 with extension installed. Fatal error: Uncaught Error: Call to undefined function Symfony\Polyfill\Mbstring\iconv_strpos() in…
Jack Yu
  • 31
  • 3
0
votes
0 answers

Enable mbstring library for PHP Windows installation

Using php 8.20 X86 Win32 VS16 not thread safe In PHP.ini I have extension=mbstring (i.e. uncommented ";" in front) and extension_dir = "D:\webserve\php8X86Win32VS16NTS\ext" In file system I have: file php_mbstring.dll in: directory…
Tom
  • 3,587
  • 9
  • 69
  • 124
0
votes
0 answers

How to fix an error in a php that uses mbstring?

I am reviewing a web page running multiple php on a machine with Linux Debian. Specifically, one of the php contains this code: $methods = get_class_methods ( $class ); // Makes the content of $methods to be: // $methods = ["__construct", "getId",…
jstechg
  • 123
  • 1
  • 2
  • 10
0
votes
0 answers

Cyrilic small letter short i encoded by 2 chars

In php >=7.2 Russian symbol "й" (Cyrillic Small Letter Short I) encoding by 2 chars - "и" (Cyrilic Small Letter I) + ̆ (Combining Breve). Because of this, my substring search breaks down. IN php <=7.1 all works fine. (that symbol encoded by one…
0
votes
2 answers

PHP Startup: Unable to load dynamic library 'intl' (tried: /opt/homebrew/lib/php/pecl/20190902/intl

I am setting the environment for the use of CodeIgniter4. I want to use "extension=intl" or "extension=mbstring" in php.ini php.ini extension=intl ;extension=imap ;extension=ldap extension=mbstring After that, when the local server is executed, the…
0
votes
6 answers

Laravel 8 error vendor/symfony/polyfill-mbstring/Mbstring.php

i want to ask about the problem i'm having. I'm using 2 desktops i.e. ubuntu and mint, when I run my code on ubuntu it runs smoothly. but if i run on mint desktop i have an error that says "Symfony\Component\ErrorHandler\Error\FatalError Maximum…
Aditya Rizqi
  • 63
  • 1
  • 7
0
votes
1 answer

PHP version upgrade from 5.6 to 7.4 causing issue for mbstring.func_overload = 6

I am upgrading the PHP version from 5.6 to 7.4 and it is causing an error related to the php.ini setting: mbstring.func_overload = 6 The error is: PHP Deprecated: The mbstring.func_overload directive is deprecated in Unknown on line 0 This setting…
DXB-DEV
  • 547
  • 1
  • 7
  • 18
0
votes
1 answer

"Call to undefined function Mpdf\mb_regex_encoding()" while mbstring is enabled

I have mbstring enabled in php.ini ("php -m" in CMD shows mbstring in the list), but I'm still getting this error. Requirements page for mPDF says that it should include mbregex as well. I don't know, maybe it's missing. How can I install it? Or it…
0
votes
1 answer

PHP mbstring doesn't work, but I set everything

I set in the php.ini file the mbstring, php_mbstring.dll is on its place, but php can't load the mudule. I tried everything, what I found on stackoverflow, or anywhere else, but nothing. -php directory is located in C:\php -php_mbstring.dll is…
Maestro
  • 21
  • 4
0
votes
0 answers

Add mbstring to php7.0 but not to php7.2

On my server there is an error message with phpmyadmin: phpMyAdmin - Error The mbstring extension is missing. Please check your PHP configuration. there are two versions of php7: cli : Path => /etc/php/7.2/cli web : Path =>…
0
votes
1 answer

PHP Startup: Unable to load dynamic library 'mbstring.so' on heroku push

I'm trying to push my git php project (symfony) using heroku but this error appends each time. enter image description here In the documentation, it's written that this extension sould be automatically downloaded by adding "ext-mbstring" in…
0
votes
1 answer

How can I install extensions in PHP 7.4 (xampp 3.2.2)?

I want mbstring and fileinfo. There's no default php.ini file. (And yes, I do have access to the \php\ext directory.)
Winfinity
  • 1
  • 3
0
votes
2 answers

PHP function to adapt texte not working with special characters?

i'm struggling with a function that adapts a text depending of the first letter of a string. $str = "élo"; function deD($str) { return (in_array(mb_strtolower($str[0]), array('a', 'e', 'é', 'è', 'ê', 'h', 'i',…
Hymed Ghenai
  • 199
  • 15
0
votes
2 answers

Phpmyadmin showing mbstring is missing

I have using PHP 7.2 version,and modules list is given below: php -m [PHP…
0
votes
1 answer

Failed to commit to a server, issue with mbstring php

For some reason my application won't build on my server when I make a commit. There have been no impactful updates on the server, anyone has an idea what this could be? The mbstring.so file is in the heroku folder. Before the weekend there was no…
basdev
  • 11
  • 1