#21874 [Fbk->NoF]: ini_get returns values from other vservers
| From: | sniper@php.net | Date: | Sat, 08 Feb 2003 05:52:57 +0000 |
| Subject: | #21874 [Fbk->NoF]: ini_get returns values from other vservers | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32467@lists.php.net to get a copy of this message | ||
ID: 21874
Updated by: sniper@php.net
Reported By: mitch@webcob.com
-Status: Feedback
+Status: No Feedback
Bug Type: PHP options/info functions
Operating System: FreeBSD
PHP Version: 4.2.2
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2003-01-28 11:36:39] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2003-01-25 04:13:56] mitch@webcob.com
I have a file:
<?php
print ini_get('upload_tmp_dir') . '<br>';
?>
And I have multiple virtual host specifications like:
{Domain names and file paths have been changed to protech the
innocent...}
<VirtualHost site1.com>
ServerName myapp.site1.com
ServerAdmin webmaster@site1.com
DocumentRoot /home/mainapplication
php_admin_value upload_tmp_dir /home/client1/tmp
php_admin_value error_log /home/client1/log
php_value error_reporting 7
php_flag display_errors On
php_flag log_errors On
php_flag register_globals on
php_flag display_errors off
</VirtualHost>
<VirtualHost site2.com>
ServerName myapp.site2.com
ServerAdmin webmaster@site2.com
DocumentRoot /home/mainapplication
php_admin_value upload_tmp_dir /home/client2/tmp
php_admin_value error_log /home/client2/log
php_value error_reporting 7
php_flag display_errors On
php_flag log_errors On
php_flag register_globals on
php_flag display_errors off
</VirtualHost>
N.B. When using PHPA, the problem is incredibly obvious (changes
continuously), however with it removed, and reloading the page HUNDREDS
of times, I saw this happen twice.
The only values displayed are those of ACTIVE virtual servers... at
least that is what seems to be happening.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21874&edit=1