From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73598 Path: news.gmane.org!not-for-mail From: Brendan Jurd Newsgroups: gmane.comp.tex.context Subject: Re: [SOLVED] mod_php vs context: tight loop Date: Wed, 04 Jan 2012 07:46:04 +1100 Message-ID: <4F03690C.3040308@achievecorp.com.au> References: <4ECF23B3.4030005@achievecorp.com.au> <4ECF4F04.7040304@wxs.nl> <4ED1CE7C.3080001@achievecorp.com.au> <4ED83104.2030404@achievecorp.com.au> <4ED8A8F1.5040904@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1325623510 22279 80.91.229.12 (3 Jan 2012 20:45:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Jan 2012 20:45:10 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 03 21:45:06 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RiBEH-0000oU-He for gctc-ntg-context-518@m.gmane.org; Tue, 03 Jan 2012 21:45:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 86FBDCB1CE; Tue, 3 Jan 2012 21:45:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tjnuO4wfSvvW; Tue, 3 Jan 2012 21:45:01 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CE1D6CB1C3; Tue, 3 Jan 2012 21:45:01 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 19165CB1C3 for ; Tue, 3 Jan 2012 21:45:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id N3-bRLmi3B-s for ; Tue, 3 Jan 2012 21:44:48 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 738BFCB1B8 for ; Tue, 3 Jan 2012 21:44:48 +0100 (CET) Original-Received: from mail.achievecorp.com.au (mail.achievecorp.com.au [122.49.201.131]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q03KigX2015473 for ; Tue, 3 Jan 2012 21:44:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by mail.achievecorp.com.au (Postfix) with ESMTP id 1C3EF4313864; Wed, 4 Jan 2012 07:44:40 +1100 (EST) Original-Received: from mail.achievecorp.com.au ([127.0.0.1]) by localhost (bigbrother.achievecorp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SNANsmpHcQpE; Wed, 4 Jan 2012 07:44:39 +1100 (EST) Original-Received: from hermes.achievecorp (unknown [10.16.0.18]) by mail.achievecorp.com.au (Postfix) with ESMTP id 96E324310F1B; Wed, 4 Jan 2012 07:44:38 +1100 (EST) Original-Received: from [10.16.0.181] (unknown [10.16.0.181]) by hermes.achievecorp (Postfix) with ESMTP id 189BDF761ED; Wed, 4 Jan 2012 07:44:38 +1100 (EST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111101 Thunderbird/7.0.1 In-Reply-To: <4ED8A8F1.5040904@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=122.49.201.131; country=AU; region=01; city=Canberra; latitude=-35.2833; longitude=149.2167; http://maps.google.com/maps?q=-35.2833,149.2167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dGh8IHns - db90dc07653c - 20120103 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:73598 Archived-At: On 02/12/11 21:31, Hans Hagen wrote: > On 2-12-2011 02:59, Brendan Jurd wrote: > >> The apache worker process had no such environment variables, so mtxrun >> failed. Once I added the following line to my PHP script, everything >> started working just fine: >> >> putenv('TEMPDIR=/tmp'); > > can you that on the wiki? maybe we need a section: "running context in > webservices" or so > I have added my findings to the wiki, as a new page. At the moment the page isn't linked to from anywhere else in the wiki. I wasn't sure which pages might have adjacent content. Please feel free to relocate this if you don't like the name, or think it doesn't deserve its own page. http://wiki.contextgarden.net/Running_ConTeXt_without_a_shell BTW, congratulations on the new theme for the wiki. It's a big improvement. -- Regards, Brendan Jurd Software Engineer Achieve, Corp brendan.jurd@achievecorp.com.au ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________