php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80012 PHP_ADMIN_VALUE parameter is not correctly inherited
Submitted: 2020-08-24 10:47 UTC Modified: 2020-08-24 13:38 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: bagas1983 at mail dot ru Assigned:
Status: Open Package: FPM related
PHP Version: 7.4.9 OS: FreeBSD
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2020-08-24 10:47 UTC] bagas1983 at mail dot ru
Description:
------------
Hello.
Php 7.4 fpm problem.
I am using a site on bitrix + phpmyadmin (nginx+php-fpm).
My system FreeBSD 11.3
 
The site bitrix needs variables:
mbstring.func_overload = 2
mbstring.internal_encoding = utf-8
 
The phpmyadmin needs variables:
mbstring.func_overload = 0
 
 
In /usr/local/etc/php.ini default.
mbstring.func_overload
mbstring.internal_encoding
 
php -v
PHP 7.4.9 (cli) (built: Aug 20 2020 16:47:50) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.9, Copyright (c), by Zend Technologies
 
/usr/local/etc/php-fpm.d/www.conf
[bitrix]
php_admin_value[mbstring.func_overload] = 2
php_admin_value[mbstring.internal_encoding] = utf-8
 
Two php-fpm sockets for php processing
/tmp/bitrix
/tmp/phpmyadmin
 
Does not work.
If I specify variables (mbstring.func_overload = 0 and mbstring.internal_encoding = utf-8) in php.ini, then the site works.
But phpmyadmin stops working.
How to be, there was no such problem in php 7.2 / 7.3.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-08-24 13:38 UTC] bagas1983 at mail dot ru
-Summary: PHP_ADMIN_VALUE +Summary: PHP_ADMIN_VALUE parameter is not correctly inherited
 [2020-08-24 13:38 UTC] bagas1983 at mail dot ru
edit Summary
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Oct 26 02:01:23 2020 UTC