httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kyle Quillen <>
Subject Re: [users@httpd] Set ENV path
Date Thu, 04 Jan 2007 23:09:57 GMT
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 need to set the path to ghostscript in an apache config file.
> Do you mean the ghostscript executable, or the libraries that PHP  
> would need to access?

I believe that this is what I need access to is the executable possible
both.  The error that I get the error_log is gs: command not found so it
seems to me that this is what I need the command.

> > i am not really sure where to do this can anyone help me out.  This is
> > setup for no virutal hosts just one standard site hosted in /var/www
> Which operating system? There are subtle differences between UNIX- 
> like flavors.

I am running Centos 4.4 Apache 2.0 and php 5.2.0.  Everything works
great exept this one thing.

> In general, Apache will have the executable PATH available as set by  
> its calling shell.  If you want to add to that (for instance to point  
> to the ghostscript installation path) you can set
> PATH=/path/to/your/ghostscript/bin:$PATH

> in the script that starts Apache.

How would I find that script?

> If you need access to the libraries, there are several ways.  By  
> default, your OS will search a standard set of directories for shared  
> libraries (like /usr/lib, perhaps /usr/local/lib). You can add to  
> that collection in an OS specific way (see and ldconfig(8)),  
> or set and export the variable LD_LIBRARY_PATH in the shell that  
> starts Apache.
> Hope that helps you on your way.
> S.

I think I am getting closer.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message