Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 37705 invoked from network); 5 Sep 2003 00:18:20 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Sep 2003 00:18:20 -0000 Received: (qmail 51615 invoked by uid 500); 5 Sep 2003 00:17:27 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 51558 invoked by uid 500); 5 Sep 2003 00:17:26 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 51517 invoked from network); 5 Sep 2003 00:17:26 -0000 Received: from unknown (HELO remt23.cluster1.charter.net) (209.225.8.33) by daedalus.apache.org with SMTP; 5 Sep 2003 00:17:26 -0000 Received: from [68.118.248.214] (HELO enterprise) by remt23.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 146925668 for users@httpd.apache.org; Thu, 04 Sep 2003 20:17:28 -0400 Message-ID: <04fa01c37343$656ef740$6701a8c0@enterprise> From: "Leif W" To: References: <3F576249.30308@youngbloods.org> <200309041329.55354.lfellows@4lane.com> <3F57CE10.5040902@youngbloods.org> <3F57D2D5.50401@youngbloods.org> Date: Thu, 4 Sep 2003 20:19:39 -0400 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.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Apache 2 caching dynamic scripts X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > ----- Original Message ----- > From: "Carl Youngblood" > To: > Sent: Thursday, September 04, 2003 8:03 PM > Subject: Re: [users@httpd] Apache 2 caching dynamic scripts > > Carl Youngblood wrote: > > >>>> I've been experiencing a problem with Apache 2 and dynamic scripts. > >>>> I've seen it in both PHP (mod_php) and FastCGI scripts. The > >>>> problem is > >>>> that when I modify a script, Apache continues to serve out the old > >>>> version of the script. The only way I have been able to get it to > >>>> re-parse the script is to actually restart apache. > >>> > >> What do the access/error logs show when you request the revised > >> script? > >> > > Every one of my requests gets recorded in the access log like this: > > ... > > Never mind. I just learned that the problem is actually in FastCGI and > it is a feature, not a bug! I'm sorry to trouble you all. FastCGI is > so fast because it keeps scripts in memory, so if I modify a script, the > old one is still in memory and obviously won't get changed. I need to > HUP a script manually if I want my changes to show. Anyway, thanks for > looking into this for me. > > Carl Ah, that makes sense. I saw the problem in the past (long time ago), but I was not the server admin and not too familiar with Apache and was just told "that's the way it is", for production server, so I didn't comment. So an alternate solution was to have a development server without the caching. Something to keep in mind when delving into other modules like FastCGI. Thanks for the update and explanation. Leif --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org