Entries in the ' php ' category

Written October 14, 2009 in linux, mysql, php, sysadmin

In the last issue of my current consulting saga, Detecting and Resolving LAMP Stack Performance Problems, we talked about a Drupal site that was being brought offline every few hours due to poor tuning of the LAMP stack. With the default settings, a site isn’t going to take much …

Continue Reading »

Written October 13, 2009 in linux, mysql, php, sysadmin

As a sysadmin, we sometimes run into performance problems with multiple angles and portions. It’s sometimes not particularly obvious where the actual performance problem is, and resolving one problem that you can see might bring another couple of problems to the surface.

The below comes from a consulting gig that …

Continue Reading »

Written July 15, 2009 in php, webdev

Continue Reading »

Written May 19, 2009 in php

Matthew Weier-O’Phinney uploaded the slides from a presentation on using version control (Specifically, Subversion) aimed at new developers. If you don’t already use some form of version control (svn, git, bzr, or god forbid cvs), you should.

Continue Reading »

Written May 13, 2009 in php

Redis is an interesting database project that reminds me a bit of a low-cost-of-entry hadoop/couchDB/simpleDB. “MySQL is to Oracle as Redis is to couchDB.”

It’s a simple key/value database that keeps everything in RAM but writes to disk occasionally, sort of the way MySQL works but without …

Continue Reading »

Written May 3, 2009 in php

http://bugs.php.net/bug.php?id=48139

I wish the guy had put his real name in the ticket. How much mocking spam do you think that email address is receiving right now?

Continue Reading »

Written February 6, 2009 in php, reading list

It’s been a while, but that just means that I’ve had the free time to keep up with my reading and haven’t had to make a list to come back to later.

  • About Slugging; that’s primarily of interest to DC people but is a very cool concept.
  • Related to the

Continue Reading »

Written February 4, 2009 in php

MySQL DBA has a great article on how to reduce load and response time in a PHP application… they do it by cutting down on a lot of the autoloading that happens when PHP wakes up and starts to process a page.

Another way to accomplish a similar thing …

Continue Reading »

Written December 14, 2008 in php

I’d forgotten about the PHP Advent until Matthew tweeted earlier with a link to “Yet” by Marco Tabini. This is the magnum opus of PHP descriptions — so far, it’s detailed everything I love, hate, and love to hate about the language.

A few choice quotes:

If there were

Continue Reading »