Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83588 invoked from network); 18 Mar 2003 16:59:13 -0000 Received: from unknown (HELO bart.tera-byte.com) (216.194.64.152) by pb1.pair.com with SMTP; 18 Mar 2003 16:59:13 -0000 Received: from TRABAJOS2 (116.Red-80-37-11.pooles.rima-tde.net [80.37.11.116]) (authenticated (0 bits)) by bart.tera-byte.com (8.11.6/8.11.6) with ESMTP id h2IGs5Q02439; Tue, 18 Mar 2003 09:54:08 -0700 Message-ID: <001901c2ed6f$b3be6f70$0301a8c0@TRABAJOS2> To: "michel 'ziobudda' morelli" , "php-dev" References: <1048001497.1516.3.camel@localhost.localdomain> Date: Tue, 18 Mar 2003 17:59:01 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: Re: [PHP-DEV] Session problem From: epplestun@alaplaya.com ("epplestun") you can see this: At 23:51 17/03/2003, Andrei Zmievski wrote: >Today I tried to run PHP-GTK with ZE2 changes against current CVS and it >segfaulted. I traced it to the fact that >PG(http_globals)[TRACK_SERVER_VARS] is no longer available if $_SERVER >is not present in the PHP code, due to the changes Zeev (I think) made >in order to improve efficiency. I don't quite agree with the way it >works right now. Well, it works well though :) All you have to do is hint PHP that you're going to touch it, and it will be available for you immediately. To do that, simply call: zend_is_auto_global("_SERVER", sizeof("_SERVER")-1 TSRMLS_CC); and you're done. ext/standard/info.c already makes use of this. Zeev ----- Original Message ----- From: "michel 'ziobudda' morelli" To: "php-dev" Sent: Tuesday, March 18, 2003 4:31 PM Subject: [PHP-DEV] Session problem > Any news about this bug > > http://bugs.php.net/bug.php?id=22175 > > ? > > Tnx > > -- > michel 'ziobudda' morelli > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >