ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: Invoking ConTeXt from inside php web appliction
Date: Fri, 17 Jun 2016 16:15:21 +0200	[thread overview]
Message-ID: <8dca240b-734a-9dfc-db97-dc47d6a9fd31@wxs.nl> (raw)
In-Reply-To: <20160617133914.GG34324@lahore>

On 6/17/2016 3:39 PM, Pavneet Arora wrote:
> That is really the crux of the issue, since www-data does *not* have a
> login shell.  It is used only by apache.
>
> Can setuptex be made to point to the home directory explicitly where the
> website is housed, e.g., '/home/wwwuser' with user 'wwwuser'?
>
> On 17Jun16, luigi scarso wrote:
>> Is  texmf-cache writable by www-data ?
>> When logged as  www-data, the cache writable should  be the
>> /home/www-data/luatex-cache/<..> folder, while the standard one is used as
>> readonly folder
>>
>> Just make a test: in www-data home
>> # . /opt/context/tex/setuptex /opt/context/tex
>> then make a simple "Hello world" test.tex and  read the log.

you can try

/pathtomtxrun/mtxrun --tree=/home/tex context ....

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2016-06-17 14:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-17 12:16 Pavneet Arora
2016-06-17 12:21 ` luigi scarso
2016-06-17 12:25   ` Pavneet Arora
2016-06-17 12:34     ` luigi scarso
2016-07-11 12:50     ` massifr
2016-06-17 12:42   ` Pavneet Arora
2016-06-17 13:25     ` luigi scarso
2016-06-17 13:39   ` Pavneet Arora
2016-06-17 14:15     ` Hans Hagen [this message]
     [not found]     ` <CAG5iGsBpLw8uTFyH7E5MCqcEoaK82qbyakfJA3teeUkSinQEgg@mail.gmail.com>
2016-06-17 14:57       ` Pavneet Arora
2016-06-17 18:49         ` Henning Hraban Ramm
2016-06-17 20:06 ` Mojca Miklavec
2016-07-09 15:45 Pavneet Arora
2016-07-09 20:56 ` Henning Hraban Ramm
2016-07-09 23:02   ` Pavneet Arora
     [not found]     ` <CAG5iGsD48qgiHcSjXYERcXrP4fo6pYL0SJTkz7JVqS9bLM+8bA@mail.gmail.com>
2016-07-11 16:14       ` Pavneet Arora

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8dca240b-734a-9dfc-db97-dc47d6a9fd31@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).