Bug #17071 Updated: "register_globals = on" does not have any effect

From: Date: Wed, 08 May 2002 08:15:37 +0000
Subject: Bug #17071 Updated: "register_globals = on" does not have any effect
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7201@lists.php.net to get a copy of this message
ID: 17071 Updated by: nixon68@online.de Reported By: nixon68@online.de Status: Open Bug Type: Session related Operating System: Suse Linux 7.0 Alpha Version PHP Version: 4.2.0 New Comment: Sorry - the error I recieve when testing the httpd.conf is: "Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration" Previous Comments: ------------------------------------------------------------------------ [2002-05-08 04:06:35] nixon68@online.de Sorry, if this is a stupid question. But where exactly did you add it in the httpd.conf. I got a syntax error when i added it just somewhere. ------------------------------------------------------------------------ [2002-05-07 14:45:27] justinlong@strategicnetwork.org I encountered the same thing and worked around it by adding php_flag register_globals on in the apache httpd.conf file ------------------------------------------------------------------------ [2002-05-07 09:51:23] nixon68@online.de ;-) Yes: /usr/local/lib/php.ini ------------------------------------------------------------------------ [2002-05-07 08:31:05] mfischer@php.net Just to eliminiate the obvious: you have made sure that the PHP.INI file you applied the change to is the same reported by your phpinfo() ? ------------------------------------------------------------------------ [2002-05-07 06:55:54] nixon68@online.de I changed this value in order to get some old scripts running without rewriting them. It didn't change anything. phpinfo() still says it's turned off. I changed other switches and that worked. Only register_globals does not seem to work. Apache/1.3.12 Configure Command: './configure' '--with-mysql' '--with-apxs' Loaded Modules: mod_perl, mod_php4, mod_setenvif, mod_so, mod_unique_id, mod_example, mod_usertrack, mod_headers, mod_expires, mod_cern_meta, mod_proxy, mod_digest, mod_auth_db, mod_auth_dbm, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_speling, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_referer, mod_log_agent, mod_log_config, mod_define, mod_env, mod_vhost_alias, mod_mmap_static, http_core ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17071&edit=1

« previous php.bugs (#7201) next »