Support » Plugin: Youngwhan's Simple Latex » http://www.forkosh.com/mathtex.cgi redirects to the CIA

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author breadncup

    (@breadncup)

    That’s true. http://www.forkosh.com/mathtex.cgi does not allow to create a latex image to the other sites of the pages.

    Can you uninstall the plug-in and install it again, please? If it doesn’t help, let me know.

    Thanks,

    Thread Starter Marco Almeida | Webdados

    (@webdados)

    OK, now I’ve checked your PHP code and you’re trying to compile the cgi script on the fly. It doesn’t work in most environments.

    I’ll have to find another way. Thanks.

    Plugin Author breadncup

    (@breadncup)

    Got it.

    Just curious. What environment are you using? Are you running wordpress in a hosting web server? Or using wordpress.com? I want to study how to overcome the different environment.

    Thread Starter Marco Almeida | Webdados

    (@webdados)

    My client’s website is on Pilvia.com

    Webserver nginx/1.12.2
    PHP 7.0.33-1~dotdeb+8.1
    MySQL 5.5.5-10.1.26-MariaDB-0+deb9u1

    They don’t even allow CGI, so that closes it.

    I also tried on my dedicated (WHM/cPanel/Apache) webserver and it doesn’t run also.

    There are two problems:
    – The main issue is that the vast majority of hosting environments will not allow shell_exec to run. It’s just too dangerous.
    – Even if you can create the cgi file, several hosting environments don’t support it anymore.

    We had to find another solution. We went with this one: https://wordpress.org/plugins/mathjax-latex/
    It’s javascript based, so it will not rely on server limitations.

    Thanks for your support anyway.

    Plugin Author breadncup

    (@breadncup)

    Thank you,

    Yes, if CGI is not supported in the web server, this plugin cannot be used. I wonder how the javascript works for the Latex because Latex presentation shouldn’t be that easy, but there would be magic I don’t understand. I want to study the plugin more to understand later. Thank you for the information, and happy to hear you could find the other way. I may improve this sometimes later.

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘http://www.forkosh.com/mathtex.cgi redirects to the CIA’ is closed to new replies.