Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #8047

shell script with shell_exec()

From Erick Engelke <erick@uwaterloo.ca>
Newsgroups comp.lang.php
Subject shell script with shell_exec()
Date 2013-01-08 19:32 -0500
Organization University of Waterloo
Message-ID <20130108192440.O63391@engmail.uwaterloo.ca> (permalink)

Show all headers | View raw


I need to run some binaries from within php web pages.

Ironically, it's to convert Word/Excel to PDF, no joke, but open office 
does it pretty easily.  No need to buy someone's service.

My problem is, the cli version of PHP executes the scripts perfectly, but
the FreeBSD Apache module PHP 5.4.7 - which I believe doesn't have the 
safe mode, well it does a SIG_ABORT on the open office binary.

I've been reading web pages all day but don't see how to get around this.

Erick

Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

shell script with shell_exec() Erick Engelke <erick@uwaterloo.ca> - 2013-01-08 19:32 -0500
  Re: shell script with shell_exec() Jerry Stuckle <jstucklex@attglobal.net> - 2013-01-08 20:22 -0500
    Re: shell script with shell_exec() Erick Engelke <erick@uwaterloo.ca> - 2013-01-09 09:02 -0500
      Re: shell script with shell_exec() The Natural Philosopher <tnp@invalid.invalid> - 2013-01-09 16:20 +0000
  Re: shell script with shell_exec() Captain Paralytic <paul_lautman@yahoo.com> - 2013-01-09 03:10 -0800

csiph-web