I'm using XeTeX, Version 3.1415926-2.4-0.9998
I'm creating .tex file using PHP and storing it on linux server. [ex: abc.tex] Then creating .sh file with command to execute *.tex file using XeLaTeX [ex: abc.sh]
sample content of abc.sh
/usr/local/texlive/2012/bin/x86_64-linux/xelatex abc.tex
If i execute abc.sh on linux command prompt, required PDF is getting generated. But, If i execute abc.sh from apache webserver via php, it's giving error as :
Error 32512 (driver return code) generating output;
file abc.pdf may not be valid.
Note: There is NO PDF File generated.
Can you please suggest any pointers to solve this?