[PHP] PHP5+APACHE 2.2 + Windows 2003 production server
Hi all PHP manual state "We do not recommend using a threaded MPM in production with Apache 2. Use the prefork MPM instead, or use Apache 1. For information on why, read the related FAQ entry on using Apache2 with a threaded MPM" ( http://www.php.net/manual/en/install.windows.apache2.php ) >From apache.org the compiled exe you can download it seems compiled against threaded MPM. Even the all-in-one packages like WAMPSERVER (http://www.wampserver.com/en/) or XAMPP Light install PHP as Apache module on threaded MPM Apache So I'm wondering, is the manual outdated, or should I consider other configuration to install on my production servers? Thank you Darvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Multiple EXEC() hang Apache
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