RE: [PHP] Problem With System Call

2005-05-20 Thread Kim Madsen
-Original Message- From: Michael Stearne [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 4:17 PM No. It's RedHat Fedora Core 3. And? (/etc/selinux/ ;-) It´s a thing that troubles a lot in Feodora3 installations -- Med venlig hilsen / best regards ComX Networks A/S Kim

[PHP] Problem With System Call

2005-05-19 Thread Michael Stearne
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

RE: [PHP] Problem With System Call

2005-05-19 Thread Kim Madsen
-Original Message- From: Michael Stearne [mailto:[EMAIL PROTECTED] 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

Re: [PHP] Problem With System Call

2005-05-19 Thread Michael Stearne
No. It's RedHat Fedora Core 3. Michael On 5/19/05, Kim Madsen [EMAIL PROTECTED] wrote: -Original Message- From: Michael Stearne [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 9:10 AM I am having the strangest problem using system() or exec() or any variation. None

Re: [PHP] Problem With System Call

2005-05-19 Thread Brandon Ryan
I think what Kim is asking is, on your copy of RedHat Fedora Core 3, is are the SELinux security features enabled? On 5/19/05, Michael Stearne [EMAIL PROTECTED] wrote: No. It's RedHat Fedora Core 3. Michael On 5/19/05, Kim Madsen [EMAIL PROTECTED] wrote: -Original Message-

Re: [PHP] Problem With System Call

2005-05-19 Thread Michael Stearne
I noticed that. I don't believe SELinux is installed. Is these known to disable system calls? Thanks, Michael On 5/19/05, Roger B.A. Klorese [EMAIL PROTECTED] wrote: On Thu, 19 May 2005, Michael Stearne wrote: No. It's RedHat Fedora Core 3. SElinux isn't a distribution -- it's a

Re: [PHP] Problem With System Call

2005-05-19 Thread Michael Stearne
Yes, SELinux is enabled by default on Fedora Core 3. So What I did was: setsebool httpd_disable_trans true /etc/init.d/httpd restart That seems to work! It removed all SELinux enhancements to the httpd though. Michael On 5/19/05, Brandon Ryan [EMAIL PROTECTED] wrote: I think what Kim is

[PHP] problem with system()

2001-09-14 Thread Arash Dejkam
Hi, I'm trying to unzip a file and save the unzipped data in a variable in PHP using : $result = system ( gzip -d -c myfile.gz ); /* 'gzip -d -c' unzips the file to 'stdout' */ the above command outputs the result directly to browser instead of putting it in $result. I tried exec() too but

Re: [PHP] problem with system()

2001-09-14 Thread Evan Nemerson
Use backticks. http://php.net/manual/en/language.operators.execution.php On Friday 14 September 2001 12:22, you wrote: Hi, I'm trying to unzip a file and save the unzipped data in a variable in PHP using : $result = system ( gzip -d -c myfile.gz ); /* 'gzip -d -c' unzips the file to