php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29947 exec / system multiexecute
Submitted: 2004-09-02 11:16 UTC Modified: 2004-10-15 01:00 UTC
From: sq6elt at zp dot amsnet dot pl Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 4.3.8 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sq6elt at zp dot amsnet dot pl
New email:
PHP Version: OS:

 

 [2004-09-02 11:16 UTC] sq6elt at zp dot amsnet dot pl
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-06 17:19 UTC] sniper@php.net
Your put this report in 'Reproducible crash' category..so where's the gdb backtrace?
 [2004-10-15 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Dec 02 05:00:02 2025 UTC