|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-02-02 12:26 UTC] tony2001@php.net
[2006-02-02 12:56 UTC] cnovak at gmx dot net
[2006-02-11 13:21 UTC] sniper@php.net
[2006-02-16 10:44 UTC] david_sitecon at hotmail dot com
[2006-02-27 10:14 UTC] cnovak at gmx dot net
[2006-03-02 18:26 UTC] tim at sharper dot nl
[2006-03-22 15:54 UTC] tim at sharper dot nl
[2006-04-30 21:31 UTC] technophreak at gammae dot com
[2006-05-06 08:47 UTC] marco at aktex dot net
[2006-05-19 16:53 UTC] technophreak at gammae dot com
[2006-06-09 15:16 UTC] mike@php.net
[2006-06-10 23:45 UTC] technophreak at gammae dot com
[2006-06-11 09:02 UTC] mike@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 07:00:01 2025 UTC |
Description: ------------ PHI ini master values are not persistet between Apache virutal hosts. 1. php.ini setting mbstring.func_overload = 0 2. vhost www.example.com sets mbstring.func_overload = 6 3. after serving vhost www.example.com all other vhosts AND the doc root inherit the individual mbstring.func_overload = 6 value. <VirtualHost 192.168.4.48:443> ServerName www.infocenter.example.com.intra SSLEngine on SSLCertificateFile /etc/apache2/ssl/www.infocenter.example.com.intra/www.infocenter.example.com.pem SSLCertificateKeyFile /etc/apache2/ssl/www.infocenter.example.com.intra/www.infocenter.example.com.pem SSLCACertificateFile /etc/apache2/ssl/www.infocenter.example.com.intra/www.infocenter.example.com.pem RewriteEngine on RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* - [F] RewriteRule /\.htaccess - [F] php_admin_value magic_quotes_gpc 0 php_admin_value upload_tmp_dir /www/customers/example/infocenter.example.com.intra/local/tmp php_admin_value session.save_path /www/customers/example/infocenter.example.com.intra/local/var/session php_value mb_internal_encoding UTF-8 php_value mbstring.func_overload 6 php_value include_path "include" <Files ~ "\.ini$"> Order deny,allow Deny from all </Files> AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 AddType application/x-httpd-php .php4 DocumentRoot /www/customers/example/infocenter.example.com.intra/php-bin/ Alias /stats /www/customers/example/infocenter.example.com.intra/stats CustomLog /www/customers/example/infocenter.example.com.intra/log/apache-www-actual.log combined ErrorLog /www/customers/example/infocenter.example.com.intra/log/apache-error-actual.log </VirtualHost> Reproduce code: --------------- 1. vhost.conf: php_value mbstring.func_overload 6 2. php.ini: mbstring.func_overload = 0 Expected result: ---------------- 1. www.infocenter.example.com phpinfo mbstring.func_overload 6 0 2. www.docroot.com phpinfo mbstring.func_overload 0 0 Actual result: -------------- 1. www.example.com phpinfo mbstring.func_overload 6 6 2. www.docroot.com phpinfo mbstring.func_overload 6 6