You are here: Re: [PHP] Problem With System Call « PHP « IT news, forums, messages
Re: [PHP] Problem With System Call

Posted by Michael Stearne on 09/28/06 11:16

Yes, SELinux is enabled by default on Fedora Core 3. So What I did was:

setsebool httpd_disable_trans true
/etc/init.d/httpd restart

That seems to work! It removed all SELinux enhancements to the httpd though.

Michael



On 5/19/05, Brandon Ryan <psikic@gmail.com> wrote:
> I think what Kim is asking is, on your copy of RedHat Fedora Core 3,
> is are the SELinux security features enabled?
>
> On 5/19/05, Michael Stearne <mstearne@gmail.com> wrote:
> > No. It's RedHat Fedora Core 3.
> >
> > Michael
> >
> >
> > On 5/19/05, Kim Madsen <km@comx.dk> wrote:
> > > > -----Original Message-----
> > > > From: Michael Stearne [mailto:mstearne@gmail.com]
> > > > Sent: Thursday, May 19, 2005 9:10 AM
> > >
> > > > I am having the strangest problem using system() or exec() or any
> > > > variation. None of them work on the Fedora Core 3 system that was
> > > > just loaded. The PHP is Version 4.3.9 with Apache 2.0.52, the default
> > > > installation for Fedora Core 3. Everything in PHP works as expected
> > > > except when trying a system call. If I run :
> > > >
> > > > <?
> > > > system("/bin/ls /tmp");
> > > > ?>
> > > >
> > > > on my OS X (Apache/1.3.33 (Darwin) PHP/4.3.4) this returns the desired
> > > > results, a listing of the tmp directory. On the Fedora box I get
> > > > nothing, a blank page. There is content in the /tmp directory on the
> > > > Fedora box.
> > >
> > > Are You perhaps running SElinux?
> > >
> > > --
> > > Med venlig hilsen / best regards
> > > ComX Networks A/S
> > > Kim Madsen
> > > Systemudvikler/Systemdeveloper
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация