Re: php.ini changes not taking

From: Date: Thu, 06 Mar 2003 15:40:26 +0000
Subject: Re: php.ini changes not taking
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-10306@lists.php.net to get a copy of this message
Stembridge, Michael wrote:
I'm not sure if my question was worded vaguely or if this is one of the mysteries of the great uknown. Am I asking this on the right list? Right list. I could not see anything wrong so did not feel I could help. I've got the standard RH8.0 installation with Apache2 and php 4.2.2, so some things will differ, but I've confirmed that changing register_globals in /etc/httpd/conf.d/php.conf does alter the setting of register_globals as shown by phpinfo(). I assume you restarted Apache after making the change and have set your browser to not cache anything (that has caught me out before). Bit more below:
Instead of troubleshooting this issue further is there a configuration option which will force register_globals to be "On" when I compile php? If there is I'll just rebuild and be done with it. Thanks for any and all assistance. - Mike
-----Original Message----- From: Stembridge, Michael [mailto:MStembridge@exchange.webmd.net] Sent: Wednesday, March 05, 2003 7:48 PM To: php-install@lists.php.net Subject: [PHP-INST] php.ini changes not taking I'm almost at my wits end with this problem. This is a new install of PHP 4.3 & Apache 1.3.27 on a Redhat 8.0 machine. Php works fine with the exception of configuration file changes... This is a local network not seen by the rest of the world and I would like to register_globals in the ini file as opposed to using ini_set or recoding several large projects to use $_GET[var] and $_POST[var]. On to the diagnosis. From phpinfo()... PHP Version 4.3.1 Configure Command './configure' '--with-mysql' '--with-informix=/opt/informix' '--enable-track-vars' '--with-apache=/share/source/apache/apache_1.3.27' '--with-config-file-path=/usr/local/apache/conf' Configuration File (php.ini) Path /usr/local/apache/conf register_globals Off Off ........................... from command line... ls -l /usr/local/apache/conf/php.ini
-rw-r--r--    1 mstembri mstembri    23723 Mar  5 19:33 php.ini
-- note apache runs as user mstembri (confirmed in httpd.conf) Mine has the same permissions but owner and group root. My apache runs as user/group apache/apache. confirmed by "ps aux | grep httpd".
Sorry I can't think of anything more at present that may help. Chris

« previous php.install (#10306) next »