php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #19578 php_master_value not changeable with php_value
Submitted: 2002-09-24 09:01 UTC Modified: 2003-01-21 03:20 UTC
From: a dot waller at webpoint dot at Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.2.2 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: a dot waller at webpoint dot at
New email:
PHP Version: OS:

 

 [2002-09-24 09:01 UTC] a dot waller at webpoint dot at
Hi !
I set 
  php_admin_flag session.auto_start on 
in httpd.conf !
I wanted to turn it of in a VirtualHost section with
  php_flag session.auto_start off !
In php.ini there is :
session.auto_start off
 
phpinfo() shows for session.auto_start
LocalValue : on
MasterValue : off

I seems to if i cannot change a value that?s been set by php_master_value. 
Alex.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-24 10:08 UTC] sander@php.net
Do you happen to run Apache 2? If so, try a snapshot from http://snaps.php.net as this might have been fixed.
 [2002-09-24 10:50 UTC] sniper@php.net
You propably have misunderstood what the master/local values mean. Better question is: Does it work? (are session started automatically?)

 [2002-09-24 11:12 UTC] a dot waller at webpoint dot at
I use apache 1.3.26. 
And, yes maybee I have misunderstood this command. But after re-reading docs I understand it the same way.
Session autostart works. 
The master values in phpinfo() are only set by php.ini.
Shouldn?t they be set with php_master_* ?
And why can?t I overwrite a set php_master_value with php_value in a virtualhost setting ?!

I can change a php_value in a virtualhost section if I don?t have set this value with php_master_value.
Why ?
 [2002-09-26 20:02 UTC] sniper@php.net
From manual page http://www.php.net/manual/en/configuration.php


php_admin_value name value

                               This sets the value of the specified variable. "Admin" configuration settings can only be set from within the main Apache configuration files, and
                               not from .htaccess files.


 [2002-09-27 06:20 UTC] a dot waller at webpoint dot at
Thnx. Sniper.
I know that. And I use that.
To clarify my problem :
If I set a php_admin_value or php_admin_flag in httpd.conf outside a virtualhost directive, I cannot change it within a virtualhost directive.
At least it doesn?t work for me. 
As it seems that nobody understands my problem, and no other has this problem I think its better to close this.
I?ll find the solution for me alone.

Alex.
 [2002-09-27 06:33 UTC] derick@php.net
A virtual host configuration section is for PHP in the "PER_DIR" access level, which is the same as the .htaccess level is.
 [2002-09-27 06:35 UTC] sniper@php.net
That should be said in the manual page too..

 [2002-09-27 06:56 UTC] m dot ford at lmu dot ac dot uk
I also think that the documentation is very unclear about the differences between php_* and php_admin_* settings -- how exactly, for example, does one determine when to use a php_admin_ directive as opposed to a straight php_ one?  And if I use the "wrong" one, what happens?

And a prominent link from the configuration.php page to the ini_set page, referring to the table of what can be set where, would be very good, too.

Cheers!

Mike
 [2003-01-21 03:20 UTC] philip@php.net
The docs have been updated to reflect the information gathered within this bug report:

http://cvs.php.net/cvs.php/phpdoc/en/chapters/config.xml

Thanks for the report :)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 17:01:27 2024 UTC