[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

System Call/Script Troubles



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.

It also seems that I can't even run a shell script in the
/var/www/html directory even from the command line?  Does anyone know
what this restriction is about?

Please help!


[Home]     [Current Fedora Users]     [Fedora Legacy List]     [Fedora Desktop]     [Red Hat 9 Bible]     [Fedora Bible]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]     [Plasma TV]     [Lil the Pill]     [Squid Users]

Powered by Linux

Google
  Web www.spinics.net