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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: edacval at gmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC