The force-cgi-redirect and discard-path USE flags have been removed from the ebuild. I get the following errors when trying to run PHP scripts with FastCGI and PHP 5.2.14: > Connection reset by peer: mod_fcgid: error reading data from FastCGI server
seeing the same, the upgrade to 5.2.14 was not smooth, I reverted to .13 to continue running my site.
The problem is, regardless of USE=cgi setting, --disable-cgi is still passed to configure. I worked around this issue by running: "EXTRA_ECONF="--enable-cgi --enable-fastcgi" emerge -av1 php" it was kinda a wild guess on my part based on looking at the logs and whatnot.
Crap. In fact, src_configure now fails to pass --enable-fastcgi. Normal cgi should still be working. I fixed this and readded the two missing USE flags. I'll also set up some containers to have a test env per SAPI this week, so this won't show up again. Thanks for noticing!
*** Bug 332337 has been marked as a duplicate of this bug. ***