What is the PATH...
| From: | Cleber S. Mori | Date: | Fri, 09 Nov 2001 21:45:12 +0000 |
| Subject: | What is the PATH... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-74059@lists.php.net to get a copy of this message | ||
When PHP try to execute a program via exec() or system(), where does it
search for it?
I mean, it sertainly is not MY (foo.php owner) path, because it returns me
a
sh: YOUR_PROGRAM: command not found
It seems to be (/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin ) now.
Where can I set this PATH?
Thanks!
Cleber S. Mori
Monitor Lab Linux
2o Ano - Bacharelado em Ciências da Computação
ICMC - Instituto de Ciências Matemáticas e de Computação
USP - Universidade de São Paulo - São Carlos
HPage: http://grad.icmc.sc.usp.br/~cleber/
E-mail: cleber@grad.icmc.sc.usp.br
ICQ/UIN: 1409389