PDA

View Full Version : extend search path permanently



bprager
01-20-2009, 09:58 AM
I need to install latex and dvips to make a wiki module "formulas" working.

How can I extend the search path environment variable permanently to have these programs available even if there are in my user directory (e.g. ($HOME/bin)?

(P.S.: The wiki is TikiWiki and written in php.)

Thanks for any help,
-- Bernd

pmbinky
01-20-2009, 03:50 PM
At the top of your script:

ini_set("include_path",".:/usr/lib/php:/usr/local/lib/php:/home/bin");

or there may be a '.' file that contains the path that you could edit.