Bug 1010750 - PHP system() function breaks working scripts
Summary: PHP system() function breaks working scripts
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: php
Version: 20
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-23 01:22 UTC by Chuck Forsberg
Modified: 2014-10-13 14:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-05 17:07:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Chuck Forsberg 2013-09-23 01:22:00 UTC
Description of problem:
The following script no longer
generates the vlf6.plt file as it used to.  The ds5 program works
properly when invoked from the shell.

<?php
     $command = "ds5 +2000 -0.25 1 2 3 4 5 6 7 8  >/u/h/vlf6.plt 
2>/dev/null";
     system($command);
     $command ="cd /u/h;  tek2gif vlf6.plt 2>/dev/null";
     system($command);
?>

Version-Release number of selected component (if applicable):


How reproducible:

run this script or something similar using redirection
Steps to Reproduce:
1.
2.
3.

Actual results:
nothing seems to happen anymore

Expected results:
programs executed, files generated/updated

Additional info:

Comment 1 Remi Collet 2013-09-23 05:04:43 UTC
Cannot reproduce from command line.

If SELinux is enabled, check context of /u/h

Comment 2 Remi Collet 2014-03-05 17:07:02 UTC
No news, so closing.

Comment 3 Chuck Forsberg 2014-10-13 14:46:05 UTC
Problem has gone away in current vsn


Note You need to log in before you can comment on or make changes to this bug.