Who needs Apache 2.0? (was Re: [LUNI] Does Apache 2.0 need perl mod?)

Ramin K ramin-list at badapple.net
Mon Apr 24 20:18:50 CDT 2006


Samir Faci wrote:
> <snip>
>> 	In regards to Apache 2.2 it is supposed to be a drop in replacement for
>> 2.0 with not interfaces changes. That looks to be true as I built a 2.2,
>> PHP 5.1.2, Mysql 5.0 test box last week and didn't have any
>> insurmountable issues. However the apr and apr-util packages that 2.2
>> depends on have some "interesting" assumptions that I needed to work
>> around to get them installed. My testing with Siege showed Apache 2.2 to
>> be about 10% faster than 2.0, but I was testing an ultimately broken*
>> set of Mysql queries coming from PHP so I wouldn't take that as gospel.
> <snip>
> 
> you have an install with php5/apache/mysql5 and you can run actually web
> apps on it?  Last time I tried that setup it broke half of my web
> applications and I had to kill both of them.  Right now, most of my
> machines have both php5 and mysql5 masked for specifically that reason.
> 

Mysql 5.0.19, PHP 5.1.2, and Apache 2.0.55.

PHP is probably the biggest issue. Had to play with USE flags for about 
a day to get all the things I needed and kill some of the issues I was 
having. You'll also want to use the 2006.0 profile.

dev-lang/php   -fastbuild -force-cgi-redirect -libedit -recode -snmp 
-soap -threads bcmath cli ctype curl dba gd hardenedphp hash iconv jpeg 
mhash mysql nls pcre pear posix session simplexml spl tiff truetype xml 
xmlrpc xsl zlib

PHP also seems to hate some libs that do the same thing, readline vs 
libedit being the one I've run into. I also compiled PHP and Apache 
without threading support for stability.

Had to run a beta version of Cactus, Horde was a lost cause, Wordpress 
works fine, PostfixAdmin works fine, Roundcube works fine, Mediawiki 
works fine, Squirrel works fine, Bugzilla works fine, RT has some sort 
of mod_perl2/Apache 2.0 issue that I haven't tracked down because I 
don't want to break bugzilla, and that's about it I think.

pecl-apc, Another PHP Cache, is broken in fun and interesting ways if 
you're using PHP in an OO sort of way. No other free caches are 
available for PHP.

PEAR::PEAR and friends needed some removal, unmasking, and reinstalling 
as well.

Being running all the above in production since Dec '05 with some tweaks 
in Jan '06 as PHP 5.1 support firmed up without too much issue. Pretty 
much skipped PHP 5.0 so I've got no experience there. Shoot me a mail 
off list and I can got into the nitty gritty Gentoo details if you'd like.

Ramin


More information about the luni mailing list