OpenBSD System() Path

  • Xel02
  • Proficient
  • Proficient
  • Xel02
  • Posts: 261

Post 3+ Months Ago


I'm setting up Moodle on an OpenBSD Web server and I'm having trouble running the mimeTeX binary. The binary itself works (compiled it on a test machine) but Moodle uses:
PHP Code: [ Select ]
system("/path/to/mimetex", $return) ;
  3. system("/path/to/mimetex", $return) ;

To make the call. I've also copied the linked libraries to the proper path. When I chroot into /var/www and run the binary itself it works.

I'm pretty sure its security setting as I can run the binary by itself but not within Apache/PHP.

Does anyone know how I can allow the execution of the binary or if there is a specific binary directory for PHP?

Thanks in advance,


Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 21 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.