My Texvc seems to works, since texvc /home/wiki/tmp /home/wiki/math "y=x+2"
gives
Cdaa63ef966cc412541190bc8794731de<i>y</i> = <i>x</i> + 2<mi>y</mi><mo>=</mo><mi>x</mi><mo>+</mo><mn>2</mn>
My LocalSettings.php at /var/www/wiki (source)
$IP = "81.111.1.1";
$wgMathPath = "{$wgUploadPath}/math";
$wgMathDirectory = "{$IP}/images/math";
$wgUploadDirectory = "{$IP}/images";
$wgUploadPath = "{$wgScriptPath}/images";
$wgTexvc = "{$IP}/math/texvc"; # Path to compiled
texvc
$wgMathDirectory = "{$wgUploadDirectory}/math";
$wgTmpDirectory = "{$wgUploadDirectory}/tmp";
I go to my wiki in Firefox and I see the output
Warning: require_once(81.111.1.1/includes/OutputHandler.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/wiki/includes/WebStart.php on line 123
Fatal error: require_once() [function.require]: Failed opening required '81.111.1.1/includes/OutputHandler.php' (include_path='/var/www/wiki:/var/www/wiki/includes:/var/www/wiki/languages:.:/usr/share/php:/usr/share/pear') in /var/www/wiki/includes/WebStart.php on line 123
I am using my correct IP in the variable $IP at /var/www/wiki/LocalSettings.php. I copied /wiki/includes/DefaultSettigs.php to /wiki/, but Math equations are not still working.
I run unsuccessfully RCS' suggestion about including the PATH to the variable $IP. I get the similar warning and error as above.
What would you change in my settings to make Math formulee work?