I've recently tried to install package through Composer, but I have got an error the requested PHP extension mbstring is missing from your system.
I removed semicolon from php.ini, but it still doesn't work. What should I do?
I recently switched to PHP 7 on my development server, which has worked just fine - until now.
Since I updated to PHP 7.0.3-10+deb.sury.org~trusty+1 (earlier today), the utf8_decode and utf8_encode functions are no longer accessible. They were,…
I have a problem running phpMyAdmin. When I try to access phpMyAdmin in my browser, I get the error message: "The mbstring extension is missing. Please check your PHP configuration."
I have already searched on the internet for possible solutions.…
I have bunch of files that are not in UTF-8 encoding and I'm converting a site to UTF-8 encoding.
I'm using simple script for files that I want to save in utf-8, but the files are saved in old encoding:
header('Content-type: text/html;…
I receive this error after trying to set up LAMP by following this tutorial, and I find myself receiving the above error after trying to set up phpmyadmin.
Fatal error: Call to undefined function mb_detect_encoding() in
…
Whenever I try to enter my phpMyAdmin, it gives me this error:
The mbstring extension is missing. Please check your PHP configuration.
I've looked all over the Internet for a fix, but all I've found is errors similar to mine, but not the same, or…
Apparently there's no mb_trim in the mb_* family, so I'm trying to implement one for my own.
I recently found this regex in a comment in php.net:
/(^\s+)|(\s+$)/u
So, I'd implement it in the following way:
function multibyte_trim($str)
{
if…
I'm trying to install indefero on a CentOS 5.3 VMware 'box' and I ran into a problem.
Quite early in the installation I get an error that I've been able to narrow down to this:
[root@code /var/www/html]# cat x.php
I am trying to install yii2 on my Amazon Linux AMI instance, it requires the php-mbstring extension to work.
When I tried to run sudo yum install php-mbstring it returned this error:
Error: php56-common conflicts with…
This code
print mb_substr('éxxx', 0, 1);
prints an empty space :(
It is supposed to print the first character, é. This seems to work however:
print mb_substr('éxxx', 0, 2);
But it's not right, because (0, 2) means 2 characters...
From this excellent "UTF-8 all the way through" question, I read about this:
Unfortunately, you should verify every submitted string as being valid
UTF-8 before you try to store it or use it anywhere. PHP's
mb_check_encoding() does the trick,…
I'm trying to figure out exactly what these php.ini settings do. What happens when they're set to different values? When are they necessary? When are they…
I have real difficulties with enabling mbstring extension on my localhost.
I'm using XAMPP 1.7.4, for Windows, which has PHP 5.3.5, and tried to edit my php.ini file according to the documentation and various other examples I found online. After…