OpenBSD System() Path

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

Post 3+ Months Ago

Hi,

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) ;
 
 
  1.  
  2.  
  3. system("/path/to/mimetex", $return) ;
  4.  
  5.  


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,

Xel.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 27 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
 
cron
 

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