Tag: osx

Dealing with “Too many open files” when running tests with PHPUnit

If you are performing unit tests on large PHP applications with PHPUnit, you may encounter the error “Too many open files”. It happens, don’t take it personally. This error occurs because the OS sets a maximum number of files (also known as file descriptors) allowed to be opened by a process, and inevitably this will […]

August 17 / 2012
Author Kim
Category PHP, Tutorials
Comments No Comments

Setting up a Symfony2 project using Mamp

This might be the easiest way to setup a Symfony dev environment. Say what you want of Mamp but it makes it dead easy to setup and manage your localhost server. Mamp is an excellent development environment especially if you are a newbie just starting off, and is definitely the simplest way to setup a […]

June 01 / 2012
Author Kim
Category PHP, Symfony, Tutorials
Comments 2 Comments
Tags , , ,

Introducing the symfony web development environment installer

When Symfony 1.3 & 1.4 were released, little attention was given to a new feature that had tremendous potential: the installer. By adding –installer=installFile.php is possible to execute custom PHP code when creating a new symfony project. So when I came across this I had an idea that could save us all some time. Every […]

December 17 / 2009