Reply to Re: [PHP] System Call Troubles

Your name:

Reply:


Posted by Josι Luis Palacios Vergara on 11/26/17 11:16

php-install-help-unsubscribe-jlpv=publivia.com@lists.php.net

----- Original Message -----
From: "Rasmus Lerdorf" <rasmus@lerdorf.com>
To: <mstearne@entermix.com>
Cc: <php-install-help@lists.php.net>; <php-general@lists.php.net>
Sent: Thursday, May 19, 2005 12:57 PM
Subject: Re: [PHP] System Call Troubles


> Michael Stearne wrote:
> > 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.11 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.
>
> These sorts of problems are easy to debug. Switch to your web server
> user id and issue the same command. You will most often find you have a
> permission problem, or in the Fedora/Redhat world you will find that
> SELinux is yanking your chain. You may want to read through:
>
> http://fedora.redhat.com/docs/selinux-faq-fc3/
>
> -Rasmus
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

[Back to original 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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация