php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21874 ini_get returns values from other vservers
Submitted: 2003-01-25 04:13 UTC Modified: 2003-02-07 23:52 UTC
Votes:2
Avg. Score:2.0 ± 1.0
Reproduced:0 of 1 (0.0%)
From: mitch at webcob dot com Assigned:
Status: No Feedback Package: PHP options/info functions
PHP Version: 4.2.2 OS: FreeBSD
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-01-25 04:13 UTC] mitch at webcob dot 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-07 23:52 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 05:01:28 2024 UTC