Multiple EXEC() hang Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all

I'm upgrading PHP version from PHP 4 to 5.3.0 and Apache to 2.2.13, but I'm
facing a weird problem on the following statement:

$StringaParametri=exec('java -cp ..\\java rsa6230 ' . $Token);

It works on PHP 4 and PHP 5 CGI, but it hang Apache using MOD_PHP5. The
problem occurs when 2 or more requests are served at the same time. 
PHP 4 doesn't have the problem but it works as CGI. On PHP 5 we rule out CGI
because it is too slow. 
The problem seems to be related to exec/system/ functions family. Other
scripts using system(), running .NET program, hang in the same way.

Configuration:
Windows Server 2003
Apache 2.2.13
PHP 5.3.0 ( PHP 5.2.10 has the same problem too)

Any idea?

Thank you
Darvin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux