Re: Execution of system call

From: Date: Sun, 30 Jul 2000 15:57:29 +0000
Subject: Re: Execution of system call
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9061@lists.php.net to get a copy of this message
Try logging in as your web server user id. ie. su - nobody and then execute those commands. Questions about system() and exec() are almost always PATH or permissions related. -Rasmus On Sun, 30 Jul 2000, Thomas M. Hansen wrote: > > Hi > > I have a simple problem.(it seems). > > When I issue > system("date"); > > I get the date ok, but when i issue : > system("tar tvfz /dev/tape"); > I get no output ? > when I issue the command in a shell, everyting works fine. > > The same story when I try to use "mt" to check the status of the tape. > It works from the prompt, but not through PHP ? > > What do I do wrong ? > > I use php 4.0.1pl2, Apache 1.3.12, Linux 2.2.16 > > Thanx- Thomas > >

« previous php.general (#9061) next »