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
--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|