Re: [Phpip-support] Any future conversion to non global variables?
Brought to you by:
trilexcom
From: <php...@li...> - 2007-05-31 21:56:37
|
Hi Booker, For phpip version 4.2 and above the following options do not need to be enabled within the php.ini file. register_globals = Off register_long_arrays = Off I have verified this configuration on my QA servers running the demo and the new test 4.4 code along with my production at work. Thanks, Michael -- Michael Earls http://www.mearls.net http://www.vermeer.org http://www.vermeer.org/pgp http://www.phpip.net PGP Info: KeyID 0x168CBA4E Fingerprint 14DD 0899 8FE4 1C16 9561 FA2A 1ACB CA91 168C BA4E > Any other comments or suggestions about running 4.2 on an apache server > that has php configured not for global variables? > > Thanks, Booker > > -----Original Message----- > From: php...@li... > [mailto:php...@li...] On Behalf Of > php...@li... > Sent: Monday, May 21, 2007 11:28 AM > To: php...@li... > Subject: Re: [Phpip-support] Any future conversion to non global > variables? > > Hope everyone's weekend was great. > > I installed phpip 4.2 as a new clean install. My php.ini file has this > configured: > > log_errors = On > > My log entries after installation and going to the login page: > > [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: > Undefined index: req in /data0/httpd/phpip4/login.php on line 25 > [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: > Undefined index: version in /data0/httpd/phpip4/defaultlayout.php on > line 26 > [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: > Undefined property: Meta::$description in > /data0/httpd/phpip4/classes/clsMetaC > ontent.php on line 10 > [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: > Undefined property: Meta::$keywords2 in > /data0/httpd/phpip4/classes/clsMetaCon > tent.php on line 30 > [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: > Undefined property: Meta::$description in > /data0/httpd/phpip4/classes/clsMetaC > ontent.php on line 31 > [Mon May 21 11:17:28 2007] [error] [client <deleted>] File does not > exist: /data0/httpd/phpip4/i/bg.gif, referer: http://<deleted>/login.php > (END) > > > I'm running apache 2.2.4, mysql 5.0.26, php 5.2.2. > > I also noticed these 2 settings: > register_globals = Off > register_long_arrays = On > > We had to turn on long arrays for a previous table we had to keep > unfortunately. One of my web guys converted the code in the 3.2 version > we had so it runs on the same server. I(we) are assuming the 4.x line > has the same issue for us, global variables. > > Mahalo, Booker > > > -----Original Message----- > From: php...@li... > [mailto:php...@li...] On Behalf Of > php...@li... > Sent: Friday, May 18, 2007 3:48 PM > To: php...@li... > Subject: Re: [Phpip-support] Any future conversion to non global > variables? > > What is your level of error logging within php.ini file? > > cat /etc/php/apache/php.ini |grep log > ; Error handling and logging ; > ; you're strongly encouraged to turn this feature off, and use error > logging > ; Log errors into a log file (server-specific log, stderr, or error_log > (below)) > ; As stated above, you're strongly advised to use error logging in place > of > log_errors = Off > > > -- > Michael Earls > > > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Phpip-support mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpip-support > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Phpip-support mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpip-support > |