#38007 [Opn->Bgs]: system() does not work under apache
| From: | tony2001@php.net | Date: | Thu, 06 Jul 2006 21:59:33 +0000 |
| Subject: | #38007 [Opn->Bgs]: system() does not work under apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-99179@lists.php.net to get a copy of this message | ||
ID: 38007
Updated by: tony2001@php.net
Reported By: marcus dot yu at rogers dot com
-Status: Open
+Status: Bogus
Bug Type: Filesystem function related
Operating System: fedora core 5
PHP Version: 5.1.4
New Comment:
Well, then it's clearly not PHP problem.
You just need to configure SELinux appropriately to allow Apache to
execute binaries or just disable SELinux.
Previous Comments:
------------------------------------------------------------------------
[2006-07-06 21:45:20] marcus dot yu at rogers dot com
Yes. It doesn't work with SELinux enforced. Why?
The machine is going to host a web site over SSL. Any impact if SELinux
is disabled?
------------------------------------------------------------------------
[2006-07-06 20:38:59] tony2001@php.net
Did you enable SELinux ?
------------------------------------------------------------------------
[2006-07-05 01:49:07] judas dot iscariote at gmail dot com
return value : 2
current CVS, apache 2.2.2 on Linux.
------------------------------------------------------------------------
[2006-07-04 20:01:38] marcus dot yu at rogers dot com
yes. even use /bin/ls got the same result.
------------------------------------------------------------------------
[2006-07-04 19:42:34] iliaa@php.net
Is ls binary in the path?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/38007
--
Edit this bug report at http://bugs.php.net/?id=38007&edit=1