ID: 19578 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: PHP options/info functions Operating System: Linux PHP Version: 4.2.2 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2002-09-26 20:02:46] [EMAIL PROTECTED] >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-24 11:12:21] [EMAIL PROTECTED] 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-24 10:50:03] [EMAIL PROTECTED] You propably have misunderstood what the master/local values mean. Better question is: Does it work? (are session started automatically?) ------------------------------------------------------------------------ [2002-09-24 10:08:19] [EMAIL PROTECTED] 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 09:01:04] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19578&edit=1