Help - Search - Member List - Calendar
Full Version: Php with Apache
WorkTheWeb Forums > Webmaster Resources > PHP Help
Support our Sponsors!
Daniel Glinas
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
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.


PHP Help | Linux Help | Web Hosting | Reseller Hosting | SSL Hosting
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2006 Invision Power Services, Inc.