-
Archive
Getting started with Nginx, PHP5, and MySQL
Today I'm going to run down the steps from start to finish to successfully install and run your PHP applications on LAMP. My host of choice is Rackspace Cloud Servers. My OS of choice is a Debian VPS. We'll be using Nginx, PHP5, and MySQL. This should run web apps (with possible bugs) such as WordPress, LemonStand, Joomla, etc.
New Class: Process
Here's another quick release. I remember working on this a few years ago. The idea is instead of forking processes, or calling blocking processes (with system, exec, passthru), we spawn children processes.
New Class: Lambda
At the moment PHP doesn't allow serializing closures. I needed a unobtrusive solution to passing closures to child processes, which are invoked later when the child process has completed the task.
New Class: cURL
Here's a quick release. I've been doing a lot of scraping work lately and of course use a cURL class. There's plenty of cURL classes out there, and here's another. I plan on evolving the class (joining multicurl into curl) and taking advantage of PHP 5.3 lambdas.