Installing PHP APC On RHEL/CentOS

Yum up some packages:

yum install php-pear php-devel httpd-devel

Install APC using pear (the pear installer is smarter than the pecl installer):
When the installer asks about APXS, say ‘no’. 

pear install pecl/apc

Tell PHP to load APC:

echo extension=apc.so > /etc/php.d/apc.ini

Restart Apache:

/sbin/service httpd graceful

Venkman JavaScript Debugger

How did I miss this before? The Venkman JavaScript Debugger; available here, with user’s guide and FAQ.

Systems Wrangling Session At WordCamp Developer Day

What is the current status of web servers…Is Apache 2.x “fast enough?”
Automattic uses Lightspeed (for PHP), nginx (for static content), and Apache (for media uploads). For WordPress-generated content, all server options are approximately the same speed.
What about APC?
Automattic uses beta versions of APC, and provides a 3-5x performance increase. It’s tied closely to the PHP [...]

Quercus PHP To Java Compiler vs. WordPress

Emil Ong is the Chief Evangelist and a lead developer for Caucho Technology, the developers of the Quercus PHP to Java compiler. The idea, I guess, is to write in PHP, deploy in Java, which some people say is better supported by the “enterprise.”
Ong claims 26% performance improvement over Apache + mod_php + APC. [...]

Make My xB A Low Rider

Team Pneumatik’s FAQ addresses the question “why do I need air suspension” simply: “Because you wanna be cool!” And now, with Pneumatik’s forthcoming kit, Scion xB owners can be cool too. Thing is, based on the photos it just doesn’t have the same effect on an xB as it does on, say, a 1965 Caddy.

tags: [...]

All About Non-Profits

I’ve been looking up information on non-profits, specifically 501c3 corporations.
There’s this sales-pitch filled FAQ; The Company Corporation makes it sound easy, but this how to guide from the National Mental Health Association (of all places) seems to offer the…um…most honest info I’ve seen yet. Well, most honest sounding.
501c3, forming a company, non-profit

Scaling PHP

This two year old post about Rasmus Lerdorf’s PHP scaling tips (slides) is interesting in the context of what we’ve learned since then. APC now seems common, and it’s supposedly built-in to PHP6. Still, I’d be interested in seeing an update. Are MySQL prepared statements still slow?
And that’s where Rasmus’ latest presentation comes in. We [...]

Speedy PHP: Intermediate Code Caching

I’ve been working on MySQL optimization for a while, and though there’s still more to done on that front, I’ve gotten to the point where the the cumulative query times make up less than half of the page generation time.
So I’m optimizing code when the solution is obvious (and I hope to rope Zach into [...]

Wireless Vulnerabilities

Related to my review of wireless security landscape is this review of threats to wireless security.
Passive Sniffing
“The same information in a Probe Response frame is available in the Beacon frames that every 802.11 network is required to transmit (even closed networks). So, we just listen for these frames in Monitor Mode instead.”
Extreme [...]

WordPress 2.5 Out, MaisonBisson Upgraded

WordPress 2.5 is out (and the WordPress site got a facelift), and I’ve already upgraded MaisonBisson using SVN. The changes are exciting, and seem to reflect a tradition that’s developing in WordPress of delivering some really revolutionary features in the x.5 release.
The loss of file-based object caching was a bit of a problem, as my [...]