Re: Set ENV path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ld.so(8) 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.

Thanks
Q


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux