|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-06-21 20:56 UTC] matt at haught dot com
First off I AM using the lastest snapshot from snaps.php.net dated 200206211500. This bug was closed but it is still there! php_value and php_flag ARE working and those changes are reflected in phpinfo(), but the admin ones (php_admin_value and php_admin_flag) are not accepted by apache giving the error: Syntax error on line 84 of /usr/local/etc/apache2/vhosts.conf: php_admin_value not allowed here AGAIN, THIS IS WITH THE LATEST SNAPSHOT php4-200206211500. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 05:00:01 2025 UTC |
Hm, don't know if this is ok but try this patch: Index: apache_config.c =================================================================== RCS file: /repository/php4/sapi/apache2filter/apache_config.c,v retrieving revision 1.21 diff -u -r1.21 apache_config.c --- apache_config.c 17 May 2002 05:16:18 -0000 1.21 +++ apache_config.c 22 Jun 2002 12:23:55 -0000 @@ -165,9 +165,9 @@ "PHP Value Modifier"), AP_INIT_TAKE2("php_flag", php_apache_flag_handler, NULL, OR_OPTIONS, "PHP Flag Modifier"), - AP_INIT_TAKE2("php_admin_value", php_apache_admin_value_handler, NULL, ACCESS_CONF, + AP_INIT_TAKE2("php_admin_value", php_apache_admin_value_handler, NULL, ACCESS_CONF|RSRC_CONF, "PHP Value Modifier (Admin)"), - AP_INIT_TAKE2("php_admin_flag", php_apache_admin_flag_handler, NULL, ACCESS_CONF, + AP_INIT_TAKE2("php_admin_flag", php_apache_admin_flag_handler, NULL, ACCESS_CONF|RSRC_CONF, "PHP Flag Modifier (Admin)"), AP_INIT_TAKE1("PHPINIDir", php_apache_phpini_set, NULL, RSRC_CONF, "Directory containing the php.ini file"), This should make the php_admin_value directive allowed inside and outside <location> or <directory> blocks. If this patch is too mangled by this bug system, you can contact me directly and I'll send it you by mail.