httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Polonkai Gergely <pol...@w00d5t0ck.info>
Subject Re: [users@httpd] Set ENV path
Date Thu, 04 Jan 2007 22:51:34 GMT
-----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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
-----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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message