Mathematics tools

LaTeX images not showing - can't find latex.fmt

This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.
Picture of Johnson Pau
Re: LaTeX images not showing

After hours of reading the code, I found that Tex are using system() to call run the shell command. 

After remove "system" from the disable_functions= from php.ini, my lex notation now working.


I am using Debian 6.0

These are extra packages that I have installed and steps to make tex filter worked.

apt-get install texlive-full

apt-get install imagemagick

vi /etc/php5/fpm/php.ini

Change this 

#disable_functions = exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source

disable_functions = exec,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source

Hope this help.

Average of ratings: -