#38007 [Opn->Fbk]: system() does not work under apache

From: Date: Fri, 07 Jul 2006 08:20:17 +0000
Subject: #38007 [Opn->Fbk]: system() does not work under apache
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-99194@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: Feedback Bug Type: Filesystem function related Operating System: fedora core 5 PHP Version: 5.1.4 New Comment: >Of course not on the same machine. Then please install the snapshot or 5.1.4 there and see if it works. Previous Comments: ------------------------------------------------------------------------ [2006-07-06 22:43:45] marcus dot yu at rogers dot com Of course not on the same machine. The machine with SELinux enforcing runs kernel 2.6.10-1.770_FC3, Apache 2.0.53, and php 4.3.11. There is no technical difference between the two apache configurations. Or I missed where to configure SELinux to let Apache run binaries. The file /etc/selinux/config does not tell much. ------------------------------------------------------------------------ [2006-07-06 22:10:28] tony2001@php.net It works with 4.3.11 and SELinux enabled on the same machine with the same configuration? I can hardly believe in that. Also, I don't really see how we can investigate it since we don't have access to your machine and we've no idea of your configuration. ------------------------------------------------------------------------ [2006-07-06 22:00:42] marcus dot yu at rogers dot com it works with older verson of php (i.e. 4.3.11) while SELinux is enforcing. ------------------------------------------------------------------------ [2006-07-06 21:59:32] tony2001@php.net 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. ------------------------------------------------------------------------ [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? ------------------------------------------------------------------------ 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

« previous php.bugs (#99194) next »