Re: Would anyone find this useful?

From: Date: Wed, 07 Mar 2007 12:07:32 +0000
Subject: Re: Would anyone find this useful?
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-45838@lists.php.net to get a copy of this message
But it's still a child process... :) Perhaps the best way is just to create a function in your .bashrc that sets the environment variable, then executes the php script. > > You can always put a php shebang as > > #!/usr/bin/php > <?php > phpinfo(); > ?> > > in top of your executable script, I guess. > Not sure how to do that without an absolute path to the php bin , though. > -- -- David Sanders

« previous php.pear.dev (#45838) next »