ID: 36257 User updated by: cnovak at gmx dot net Reported By: cnovak at gmx dot net -Status: Feedback +Status: Open Bug Type: *Configuration Issues Operating System: Linux srv-01 2.6.12-vs2.0-gentoo PHP Version: 4.4.2 New Comment:
Q1) Server API: Apache 2, API 20020903 Q2) We can not try 5.1 Previous Comments: ------------------------------------------------------------------------ [2006-02-02 12:26:59] [EMAIL PROTECTED] What Server API are you using? Did you try with 5.1.x ? ------------------------------------------------------------------------ [2006-02-02 12:23:52] cnovak at gmx dot net 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36257&edit=1