php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37468 php ignoring configuration settings
Submitted: 2006-05-16 21:51 UTC Modified: 2006-07-30 14:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: edacval at gmail dot com Assigned:
Status: Not a bug Package: mbstring related
PHP Version: 5.1.4 OS: linux gentoo 2.6.16
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
29 - 16 = ?
Subscribe to this entry?

 
 [2006-05-16 21:51 UTC] edacval at gmail dot com
Description:
------------
php_ini:
mbstring.strict_detection = On

phpinfo() show:

<snippet>
  Directive	             Local Value   Master Value
  mbstring.strict_detection	Off	         Off
</snippet>

Reproduce code:
---------------
<?php
 phpinfo();
 ini_set("mbstring.strict_detection", "On");
 phpinfo();
?>



Expected result:
----------------
Directive	             Local Value   Master Value
mbstring.strict_detection	On	         Off
mbstring.strict_detection	On	         Off

Actual result:
--------------
Directive	             Local Value   Master Value
mbstring.strict_detection	Off	         Off
mbstring.strict_detection	On	         Off

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-17 13:06 UTC] iliaa@php.net
Is the php.ini file path shown in phpinfo() match the php.ini 
file you've changes? Also, what SAPI are you using?
 [2006-05-19 01:19 UTC] edacval at gmail dot com
Yes,files match - /etc/php/apache2-php5/php.ini ( checked 1000 times ! :)).I can change all other setting,except this.
Server API - Apache 2.0 Handler.
Can provide php.ini file and phpinfo() output,if this help to solve the problem.
 [2006-05-24 22:21 UTC] tony2001@php.net
# php /tmp/1.php | grep strict_detect
mbstring.strict_detection => Off => Off
mbstring.strict_detection => On => Off

# cat /tmp/1.php
<?php
 phpinfo();
 ini_set("mbstring.strict_detection", "On");
 phpinfo();
?>

 [2006-06-01 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2006-07-30 13:25 UTC] edacval at gmail dot com
# php /tmp/1.php | grep strict_detect
mbstring.strict_detection => Off => Off
mbstring.strict_detection => On => Off

# cat /tmp/1.php
<?php
 phpinfo();
 ini_set("mbstring.strict_detection", "On");
 phpinfo();
?>
Same result
 [2006-07-30 13:48 UTC] tony2001@php.net
Which means it works fine.
 [2006-07-30 14:00 UTC] edacval at gmail dot com
but in php.ini is "mbstring.strict_detection = On".
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Oct 26 03:03:35 2021 UTC