Summary: | php-cgi doesn't take care of "fastcgi" USE-flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Meder Bakirov <bakirov> |
Component: | New packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 60438 |
Description
Meder Bakirov
2005-05-25 06:40:03 UTC
Is there a reason why we shouldn't always building php-cgi w/ fastcgi support enabled? PHP built w/ fastcgi support runs fine on web servers that only support the older CGI interface. Best regards, Stu It's OK with the current state of php-cgi ebuild, but I just wanted it to be better - i.e. comply to Gentoo standards, if there is one... For example, personally I wanted to build php-cgi with fastcgi support, I know that there is a USE-flag for fastcgi support, and while looking at USE-flags of php-cgi I didn't find corresponding one, i.e. 'fastcgi' USE-flag, which forced me to look at the ebuild itself, i.e. forced me to make one or two steps further, all just to know if this ebuild has a fastcgi support or not. Another example is that one may complain about the inclusion of fastcgi-support without his knowledge into the final bin, even if WE 'know' it is better to have a fastcgi-support there. But, as you know, user wants control, even a little, but control, which Gentoo makes possible via one of its greatest inventions - USE-flags. So, all I want to say is just to make it more user-friendly, i.e. more Gentoo-way. I know that your intentions were the best you-know, but it took me far more steps to invistigate this little issue... while I could just proceed with USE="fastcgi" emerge php-cgi :) And finally, there is already a ready USE-flag :) Thank you, Stu, very much for your response! For some resason the --enable-fastcgi was removed from the php5 ebuild entirely.
This should either be on by defualt, or enabled by the USE flag but it's neither
with php-cgi-5.0.4.ebuild. (on by default in php4 ebuilds)
36c36
< my_conf="--disable-cli --enable-cgi"
---
> my_conf="--disable-cli --enable-cgi --enable-fastcgi"
Same problem here. I can't no longer use lighttpd. Implemented in CVS for php-cgi-4.4.0-r1 and php-cgi-5.0.4. |