From: sq6elt at zp dot amsnet dot pl
Operating system: Linux
PHP version: 4.3.8
PHP Bug Type: Reproducible crash
Bug description: exec / system multiexecute
Description:
------------
php with suexec - apache (called as CGI), file foo.php:
<?
exec('php bar.php');
?>
php is from sapi/cgi
File bar.php
<?
phpinfo()
?>
When executed from web, I got multi bar.php processess..
But executed as: php foo.php, everything works as expected.
What's wrong ?
php compiled with these arguments:
--with-readline
--enable-inline-optimization
Reproduce code:
---------------
--enable-memory-limit
--enable-safe-mode
--enable-static
--enable-sysvsem
--enable-sysvshm
--enable-trans-sid
--with-exec-dir=/home
--enable-shmop
--
Edit bug report at http://bugs.php.net/?id=29947&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29947&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29947&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29947&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=29947&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29947&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29947&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29947&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29947&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29947&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29947&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29947&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29947&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29947&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29947&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29947&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29947&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29947&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29947&r=float