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:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 7:48 PM
To: [EMAIL PROTECTED]
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


-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to