Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #8048
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: shell script with shell_exec() |
| Date | 2013-01-08 20:22 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <kcigo0$85p$1@dont-email.me> (permalink) |
| References | <20130108192440.O63391@engmail.uwaterloo.ca> |
On 1/8/2013 7:32 PM, Erick Engelke wrote: > > 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 You really didn't give us much to go on. But my first check would be to ensure the web server user has sufficient permission to execute Open Office and it's libraries. Also ensure it can read the file you're converting from and write access to the directory you're writing to. Next thing I would check would be the log files for any messages. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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