php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40008 lock file
Submitted: 2007-01-03 11:05 UTC Modified: 2007-01-04 02:43 UTC
From: wisans at gmail dot com Assigned:
Status: Not a bug Package: Performance problem
PHP Version: 5.2.0 OS: window xp
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: wisans at gmail dot com
New email:
PHP Version: OS:

 

 [2007-01-03 11:05 UTC] wisans at gmail dot com
Description:
------------
host a call a.php and open new ie call b.php
(this action make b.php wait for a.php success because it
use same sessionid not problem, when socket_timeout it make a.php end and b.php end)

problem is host b open b.php it wait for b.php on host a success 


Reproduce code:
---------------
a.php
<?php
session_start();
$url = "http://192.168.4.199/ar_master.php";
fopen($url,"r");
?>

b.php
<?php
session_start();
$ip = "192.168.1.37";
$ret = shell_exec ("$cmdName $argName $ip");
echo "HELLO---->".rand(1,20000);
?>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-01-04 02:15 UTC] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

.
 [2007-01-04 02:43 UTC] wisans at gmail dot com
host b call b.php not have any dependency b.php that call by host a, 
so i think it should not wait for host b.php success on on host a.
if i comment line shell_exec , host b can run b.php without any problem.
while shell_exec i test command shell_exec("dir");

i test this problem on freeBSD it does not any problem.
if i should read manual what chapter i read ? .
thank you very much.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 17:01:34 2025 UTC