Bug #69041 [NEW]: mod_fcgid: get overlap result error
| From: | adam dot tallon at version1 dot com | Date: | Thu, 12 Feb 2015 13:19:20 +0000 |
| Subject: | Bug #69041 [NEW]: mod_fcgid: get overlap result error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-190627@lists.php.net to get a copy of this message | ||
From: adam dot tallon at version1 dot com
Operating system: Windows 7 x64
PHP version: 5.6.5
Package: CGI/CLI related
Bug Type: Bug
Bug description:mod_fcgid: get overlap result error
Description:
------------
All is configured correctly and I can serve HTML pages grand but when I
try to request a PHP page no matter how simple or complex the PHP code I
get an internal server error in my browser.
PHP was working fine until I started using mod_fcgid. PHP works ok if I
use 'LoadModule'.
In the Apache logs I'm getting the below error:
[fcgid:warn] [pid 816:tid 944] (OS 109)The pipe has been ended. :
[client xxx.xxx.xxx.xxx:53392] mod_fcgif: get overlap result error
[core:error] [pid 816:tid 944] [client xxx.xxx.xxx.xxx:53392] End of
script output before headers: index.php
And all I have in the index.php file is:
<?php
phpinfo();
?>
I'm running the the below:
- Apache 2.4.12 Win64
- mod_fcgid 2.3.9
- PHP 5.6.5 x64
Apache Fcgid config being used:
FcgidInitialEnv PATH "C:/Program\
Files/PHP;C:/instantclient_12_1;C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem;"
FcgidInitialEnv SystemRoot "C:/Windows"
FcgidInitialEnv SystemDrive "C:"
FcgidInitialEnv TEMP "C:/WINDOWS/Temp"
FcgidInitialEnv TMP "C:/WINDOWS/Temp"
FcgidInitialEnv windir "C:/WINDOWS"
FcgidIOTimeout 64
FcgidConnectTimeout 16
FcgidMaxRequestsPerProcess 1000
FcgidMaxProcesses 50
FcgidMaxRequestLen 8131072
# PHPRC is the location of the php.ini file
FcgidInitialEnv PHPRC "c:/Program\ Files/PHP"
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000
<Files ~ "\.php$>"
AddHandler fcgid-script .php
FcgidWrapper "c:/Program\ Files/PHP/php-cgi.exe" .php
</Files>
Test script:
---------------
<?php
phpinfo();
?>
Expected result:
----------------
Should render the PHP info page.
Actual result:
--------------
'Internal Server Error' page.
--
Edit bug report at https://bugs.php.net/bug.php?id=69041&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69041&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69041&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69041&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69041&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69041&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69041&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69041&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69041&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69041&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69041&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69041&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69041&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69041&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69041&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69041&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69041&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69041&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69041&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69041&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69041&r=mysqlcfg