On Thu, 2007-01-04 at 15:02 -0800, Sander Temme wrote:
> On Jan 4, 2007, at 2:45 PM, Kyle Quillen wrote:
>
> > Hello all,
> >
> > I have a standard Apache install with php and mysql support.
> > Everything
> > is working great except ghostscript. I have narrowed down to the fact
> > that I nee
On Jan 4, 2007, at 2:45 PM, Kyle Quillen wrote:
Hello all,
I have a standard Apache install with php and mysql support.
Everything
is working great except ghostscript. I have narrowed down to the fact
that I need to set the path to ghostscript in an apache config file.
Do you mean the g
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
In that case I think you should set the PATH variable. As far as I
remember, it should be done like this:
setenv("PATH", getenv("PATH").PATH_SEPARATOR."/dir/where/gs/resides");
However, this question is a bit off-topic I think, as it is not
related
What i am seeing is this in the error_log of apache however it works
fine from the command line.
[Thu Jan 04 17:41:54 2007] [notice] Apache/2.0.52 (CentOS) configured --
resuming normal operationssh: gs: command not found
convert: Postscript delegate failed `ocrs/Court
Cases_1/ENV1/ENV1/ne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I think that, if you use gs only once, to write the whole path of the
binary in the php script. E.g passthru("/usr/bin/gs with parameters if
needed");
If gs is used more than once, you should create a variable, e.g $gs,
and call passthru("$gs with para
Hello all,
I have a standard Apache install with php and mysql support. Everything
is working great except ghostscript. I have narrowed down to the fact
that I need to set the path to ghostscript in an apache config file.
i am not really sure where to do this can anyone help me out. This is
se