php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71180 The mb_string extension have a bug in windows.
Submitted: 2015-12-21 11:45 UTC Modified: 2016-01-03 04:22 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: cevin dot cheung at gmail dot com Assigned:
Status: No Feedback Package: *Web Server problem
PHP Version: 7.0.1 OS: Win10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cevin dot cheung at gmail dot com
New email:
PHP Version: OS:

 

 [2015-12-21 11:45 UTC] cevin dot cheung at gmail dot com
Description:
------------
The mb_string extension have a bug.

In browser && (apache || nginx), the extension is not loaded.
But , In console, the extension is loaded and okay.

And, The Yii PHP Framework it's not worked error report as below:

Uncaught Error: Call to undefined function yii\web\mb_strlen() in script.php:394

Test script:
---------------
<?php

phpinfo();

echo mb_strlen('1','utf-8');


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-21 18:26 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2015-12-21 18:26 UTC] ab@php.net
Thanks for the report. It seems that a relative path is used in the extension_dir ini directive. It is likely that Apache will change CWD to its own root, so please use an absolute path to the extension dir.

Thanks.
 [2016-01-03 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 09:01:28 2024 UTC