![](https://secure.gravatar.com/avatar/38944d5653a9e373103aaa7ff8562d8a.jpg?s=120&d=mm&r=g)
Hi, I'm trying to build a page "ConTeXt live" on a Apache web server with PHP. Here is the simple test ------------------------------------------------------------------------- \enableregime[utf] \setupencoding[default=t5] \usetypescript[berry][t5] \usetypescript[palatino][t5] \setupbodyfont[palatino,12pt] \starttext Hello, world! \stoptext --------------------------------------------------------------------------- This src file was saved into /tmp folder in which Apache user has full writing permission. I use PHP command: system("cd /tmp; texexec --pdf --silent test.tex"); Here is the log: ---------------------------------------------------------------------------------------------------------------------------- TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 fixing engine variable : pdfetex executable : pdfetex format : cont-en inputfile : toto2 output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) \write18 enabled. (/usr/local/tetex/share/texmf-local/web2c/natural.tcx) entering extended mode (./toto2.tex ConTeXt ver: 2005.11.30 fmt: 2005.12.2 int: english mes: english language : language en is active system : cont-new loaded (/usr/local/tetex/share/texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex color : palette rollover is available ) system : cont-old loaded (/usr/local/tetex/share/texmf-local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/tetex/share/texmf-local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (/usr/local/tetex/share/texmf-local/tex/context/user/cont-sys.rme (/usr/local/tetex/share/texmf-local/tex/context/base/type-exa.tex) (/usr/local/tetex/share/texmf-local/tex/context/base/type-syn.tex) (/usr/local/tetex/share/texmf-local/tex/context/base/type-enc.tex) (/usr/local/tetex/share/texmf-local/tex/context/base/type-dis.tex) (/usr/local/tetex/share/texmf-local/tex/context/base/type-siz.tex) (/usr/local/tetex/share/texmf-local/tex/context/base/type-map.tex) (/usr/local/tetex/share/texmf-local/tex/context/base/type-spe.tex) (/usr/local/tetex/share/texmf-local/tex/context/base/type-akb.tex)) bodyfont : 12pt rm is loaded language : patterns nl->texnansi:texnansi->1->2:2 nl->ec:ec->2->2:2 fr-> texnansi:texnansi->3->2:2 fr->ec:ec->4->2:2 de->texnansi:texnansi->5->2:2 de->e c:ec->6->2:2 it->texnansi:texnansi->7->2:2 it->ec:ec->8->2:2 pt->texnansi:texna nsi->9->2:2 pt->ec:ec->10->2:2 hr->ec:ec->11->2:2 pl->pl0:pl0->12->2:2 pl->ec:e c->13->2:2 pl->qx:qx->14->2:2 cz->il2:il2->15->2:2 cz->ec:ec->16->2:2 sk->il2:i l2->17->2:2 sk->ec:ec->18->2:2 sl->il2:il2->19->2:2 sl->ec:ec->20->2:2 en->ec:e c->22->2:2 da->ec:ec->23->2:2 sv->ec:ec->24->2:2 af->ec:ec->25->2:2 no->ec:ec-> 26->2:2 deo->ec:ec->27->2:2 uk->ec:ec->28->2:2 us->ec:ec->29->2:2 es->ec:ec->30 ->2:2 ca->ec:ec->31->2:2 la->ec:ec->32->2:2 ro->ec:ec->33->2:2 tr->ec:ec->34->2 :2 fi->ec:ec->36->2:2 hu->ec:ec->37->2:2 loaded specials : tex,postscript,rokicki loaded system : toto2.top loaded (./toto2.top specials : loading definition file tpd (/usr/local/tetex/share/texmf-local/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/local/tetex/share/texmf-local/tex/context/base/spec-fdf.tex) specials : fdf loaded ) specials : fdf,tpd loaded ) ! I can't write on file `mpgraph.mp'. \initializeMPgraphicfile ...te \MPgraphicfile .mp \immediate \write \scratch... \initializeMPgraphics ...\initializeMPgraphicfile \fi \egroup ...e \checknotes \initializeMPgraphics \checkpreprocessor l.1 \enableregime[utf] Please type another output file name: ! Emergency stop. \initializeMPgraphicfile ...te \MPgraphicfile .mp \immediate \write \scratch... \initializeMPgraphics ...\initializeMPgraphicfile \fi \egroup ...e \checknotes \initializeMPgraphics \checkpreprocessor l.1 \enableregime[utf] No pages of output. Transcript written on toto2.log. return code : 256 run time : 1 seconds total run time : 2 seconds --------------------------- end of log ----------------------------------------------------------------------------------- In /tmp, I see files test.log, test.tmp, test.tui test-mpgraph.mp. I don't know where ConTeXt is trying to write the file "mpgraph.mp" ? Web server is running under apache/apache. I have no root's access in this server. I would like to hear from author of http://live.contextgarden.net specially. Thank you in advance, Regards, -- http://vnoss.org Vietnamese Open Source Software Community