One of the remaining things that needs to be fixed is LaTeX support on the blog, and I’d appreciate a little help to solve a problem.
The problem is that although LaTeX is installed properly, and the Latexrender plug-in is installed, the call to /usr/bin/latex does not work. So what happens when someone puts [ tex]E = mc^2[ /tex] is that the plug-in correctly creates a LaTeX document in a tmp folder as its supposed to.
But then the php script calls /usr/bin/latex it fails to find it. Now /usr/bin/latex exists and if you run the /usr/bin/latex .tex as root then it produces the .aux, .dvi and .log files as it should. But the script does not work on its own, which suggests that either apache somehow does not have rights to run /usr/bin/latex (which is chmod 755 by the way) or php is prevented from calling /usr/bin/latex
Has anyone any idea of where to look or encountered this problem before? Any helpful suggestions gratefully received.
The CA server is running CentOS 4.4 by the way.