Re: [suPHP] php does not execute

2009-05-18 Thread Aki Tuomi
Your httpd claims otherwise. Perhaps you should disable selinux completely? Have you checked dmesg? On Mon, May 18, 2009 at 02:42:16PM -0600, Brian Marshall wrote: > Hi Aki, > > When I look at selinux enforcement policy I see the following. > > cat /selinux/enforce > 0 > > I'm assuming this is

Re: [suPHP] php does not execute

2009-05-18 Thread Brian Marshall
Hi Aki, When I look at selinux enforcement policy I see the following. cat /selinux/enforce 0 I'm assuming this is compatible since it shouldn't actually enforce anything but is there something additional I should check? On May 18, 2009, at 2:20 PM, Aki Tuomi wrote: > On Mon, May 18, 2009 a

Re: [suPHP] php does not execute

2009-05-18 Thread Aki Tuomi
On Mon, May 18, 2009 at 01:52:34PM -0600, Brian Marshall wrote: > Hi All, > > > [Wed May 13 13:36:01 2009] [notice] SELinux policy enabled; httpd > running as context user_u:system_r:httpd_t:s0 I claim the culprit being here... Perhaps you should confirm your SELinux policy is compatible? -

Re: [suPHP] php does not execute

2009-05-18 Thread Brian Marshall
Hi All, I've been digging around in the list archives looking at similar problems to this but I am not having any luck solving this problem. I seem to have everything installed okay to where apache runs and doesn't complain but php scripts don't execute; I get raw code in the browser. So I'm assum

Re: [suPHP] php does not execute

2009-05-13 Thread Brian Marshall
Hi Daniel, I see I did not have that defined in there. So I have added the following to my suphp.conf but I still have the same problem. Php does not execute through apache I just get raw code back. I am thinking along the same lines though. It seems like the handler never gets called for

Re: [suPHP] php does not execute

2009-05-13 Thread Daniel Llewellyn
2009/5/13 Brian Marshall : [snip] > /etc/httpd/confd/php.conf > > LoadModule suphp_module modules/mod_suphp.so > suPHP_Engine on > AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml remember this mime type > >     suPHP_AddHandler application/x-httpd-php5 ok, you used the sa

Re: [suPHP] php does not execute

2009-05-13 Thread Brian Marshall
Hi All, I've been digging around in the list archives looking at similar problems to this but I am not having any luck solving this problem. I seem to have everything installed okay to where apache runs and doesn't complain but php scripts don't execute; I get raw code in the browser. So I