I'm running apache 1.3 on debian sarge.
It's running as user (by default) in group
I'm also running PHP, and shelling out to run a 3rd party program.
In order for this third party program to work /home/uname/programname/
Needs to be in the path of the user trying to run it.
When I run a
I get
PATH /bin:/usr/bin:/usr/local/bin
In the Apache Environment section
How would I go about adding the directory I need to the apache environment path? Or am I better off switching the user apache runs as to one which has an account I can actually modify .profile's for?
Or shall I run off to the apache forum?
It's running as user (by default) in group
I'm also running PHP, and shelling out to run a 3rd party program.
In order for this third party program to work /home/uname/programname/
Needs to be in the path of the user trying to run it.
When I run a
Code:
phpinfo();
PATH /bin:/usr/bin:/usr/local/bin
In the Apache Environment section
How would I go about adding the directory I need to the apache environment path? Or am I better off switching the user apache runs as to one which has an account I can actually modify .profile's for?
Or shall I run off to the apache forum?