httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Neu <da...@netwerx.de>
Subject Re: [users@httpd] no able to run exec from apache perl/php
Date Thu, 22 Jul 2004 07:07:10 GMT
hi,
check what user/group your apache is running. in httpd.conf search for
something like:
User someusername
Group somegroup

and make sure that this user is allowed to execute the command you are
trying to exec with php

David

bruce wrote:
> hi...
> 
> in trying to run test scripts that use exec/system shell functions, the
> exec/system functions don't appear to work. in searching apache/google/etc..
> i haven't found anything that can provide insight into why this behavior is
> occuring...
> 
> my setup is apache2/php-5/rh8.0 and is pretty much default. i'm tempted to
> think that this might be a privs/permission issue, but i have no real idea
> as to where to check to get a soln...
> 
> any ideas/comments/criticisms will be helpful.... i was able to create a
> quick php script from the command line that used the exec function that
> works...
> 
> thanks
> 
> -bruce
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message