Re: System Call Troubles

From: Date: Thu, 19 May 2005 16:40:39 +0000
Subject: Re: System Call Troubles
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-215609@lists.php.net to get a copy of this message
Thanks. Neither have helped. I have no idea what the deal is. I think it might be some restriction set by Fedora or Apache. Michael On 5/19/05, Philip Hallstrom <php@philip.pjkh.com> 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. > > Compare the output of phpinfo() on each machine. Investigate any > differences... > > Also maybe this will help: > > http://us4.php.net/features.safe-mode > > -philip > >

« previous php.general (#215609) next »