RE: Problem With System Call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Michael Stearne [mailto:mstearne@xxxxxxxxx]
> 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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux