Bug #71551 [NEW]: scripts not run from php-cgi with mod_fcgid

From: Date: Tue, 09 Feb 2016 01:37:18 +0000
Subject: Bug #71551 [NEW]: scripts not run from php-cgi with mod_fcgid
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199113@lists.php.net to get a copy of this message
From:             ian at ocucom dot com
Operating system: Windows 7
PHP version:      7.0.3
Package:          Apache2 related
Bug Type:         Bug
Bug description:scripts not run from php-cgi with mod_fcgid

Description:
------------
When using mod_fcgid with php-cgi to handle scripts, intermittently,
php-cgi.exe will start, but the script will not seem to load (no
error_log() statements are logged, no output is sent, cpu usage is 0%)
and after the fcgid timeouts, apache reports mod_fcgid: read timeout
from pipe. 

This behavior is intermittent but seems to be related to new instances
of php-cgi.

Apache: Apache Lounge 2.4.18 Win32 x86
Mod_fcgid: Apache Lounge mod_fcgid 2.3.9 Win32 x86
PHP: Windows.php.net PHP 7.0.3 php-cgi.exe



Expected result:
----------------
php runs a .php script

Actual result:
--------------
no content is returned, fcgid script timeout is reached, apache reports
read timeout, serves 500 error. 

Happens more frequently if FcgidMaxRequestsPerProcess is set to 1.
FcgidConnectTimeout values seem to have no effect. It appears that
mod_fcgid never "hooks up" to the php-cgi process. 

-- 
Edit bug report at https://bugs.php.net/bug.php?id=71551&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=71551&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=71551&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=71551&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=71551&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=71551&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=71551&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=71551&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=71551&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=71551&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=71551&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=71551&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=71551&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=71551&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71551&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=71551&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=71551&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=71551&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71551&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=71551&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=71551&r=mysqlcfg



Thread (12 messages)

« previous php.bugs (#199113) next »