Re: Inconsistent behavior, same code, different server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




--On Tuesday, January 18, 2005 02:05:59 PM -0800 Richard Lynch
<ceo@xxxxxxxxx> wrote:

> 
> First, use <?php phpinfo();?> to confirm 100% that the php.ini file you
> think is loading is actually loading.
> 
> Next, be sure your Apache was restarted.
> 
> Finally, I'd look (maybe even grep) for some kind of auto_prepend script
> or bug or something odd with the name 'fmode' outside of your scripts.
> 

How right thou art!  Turns out that there was more than one php.ini on the
production server and the php.ini it was using was in /usr/local/lib, and
register_globals was turned on.  Turn register_globals off, and  my problem
went away.  But as it turns out, we have to leave it on for the time being
because of legacy code that hasn't been rewritten yet.  Found that I had a
form field and a php variable with the same name.  I changed the form field
name and I'm back in business.

Many helpful clues.  Thanks to everyone who responded.


-- 
Rob Tanner
UNIX Services Manager
Linfield College, McMinnville OR

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux