[NTG-context] Invoking ConTeXt from inside php web appliction

Hans Hagen pragma at wxs.nl
Fri Jun 17 16:15:21 CEST 2016


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
-----------------------------------------------------------------


More information about the ntg-context mailing list