Daniel Glinas
Jun 25 2005, 02:10 PM
Hi,
Directly from command line on the server,
I execute a bash script, that is called from
a Php script, with no problem.
But when the Php script is called from Apache,
I have some permission denied during the
executin of the bash script, called from
Php:
sh: bbx_txt: permission denied.
Do I have to compiled Apache with some
feature, like "suexec"?
Thank you for your help
daniel
[Email Removed]
Colin McKinnon
Jun 27 2005, 07:16 AM
Daniel Glinas wrote:
QUOTE |
Hi,
Directly from command line on the server, I execute a bash script, that is called from a Php script, with no problem.
But when the Php script is called from Apache, I have some permission denied during the executin of the bash script, called from Php:
sh: bbx_txt: permission denied.
Do I have to compiled Apache with some feature, like "suexec"?
|
No suexec is a seperate program. If you have sufficient access to recompile
apache, then you should be able to change the permissions of the script and
its data.
C.