-----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 parameters if needed");. And voila! You didn't need to change any ENV var at all :) Regards, Gergely Kyle Quillen írta: > 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 > setup for no virutal hosts just one standard site hosted in /var/www > > 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 > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkWdhPUACgkQDmtpjMiCcGhxvgCgwrNLCyXYu6pcElvfsMDXmNQs AfkAnj3l+gjAu1Drii1ogV/b6ojBeSGc =0XtG -----END PGP SIGNATURE----- --------------------------------------------------------------------- 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