Category: Tutorials

How to install Zend Guard Loader for PHP on a VPS

In order to install Zend Guard Loader, we need to download the extension from the Zend Downloads Page. It will download a tarball file, that we will have to uncompress. $ tar -xzf ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz Once we have uncompressed the file, we will proceed with the installation. The extension is already compiled, so we just need to […]

January 09 / 2013
Author Kim
Category PHP, Tutorials, VPS
Comments No Comments
Tags ,

Upcoming Conferences

WeCamp

PHP New Zealand

PHP Summer Camp Croatia

PHPNE

MadisonPHP

brnoPHP

SymfonyLiveLondon

ZgPHP

PHPSouthAfrica

PHPNWUK

SymfonyLiveNYC

PHPForumParis

PHPARG

PHPWorld

TechMeetupUY

SymfonyConMadrid

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

Upcoming Conferences

WeCamp

PHP New Zealand

PHP Summer Camp Croatia

PHPNE

MadisonPHP

brnoPHP

SymfonyLiveLondon

ZgPHP

PHPSouthAfrica

PHPNWUK

SymfonyLiveNYC

PHPForumParis

PHPARG

PHPWorld

TechMeetupUY

SymfonyConMadrid

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 , , ,

Upcoming Conferences

WeCamp

PHP New Zealand

PHP Summer Camp Croatia

PHPNE

MadisonPHP

brnoPHP

SymfonyLiveLondon

ZgPHP

PHPSouthAfrica

PHPNWUK

SymfonyLiveNYC

PHPForumParis

PHPARG

PHPWorld

TechMeetupUY

SymfonyConMadrid

Generate URLs from within a Twig Extension with Symfony2

It’s possible to generate a URL from within a Twig extension in a Symfony2 application. To do this, you need to have access to the Router. If you have a custom Twig extension, this means that you’ll need to inject the router to the extension. Thanks to the Dependency Injection this is very easy to […]

May 13 / 2012
Author Pablo
Category PHP, Symfony, Tutorials
Comments No Comments
Tags , ,

Upcoming Conferences

WeCamp

PHP New Zealand

PHP Summer Camp Croatia

PHPNE

MadisonPHP

brnoPHP

SymfonyLiveLondon

ZgPHP

PHPSouthAfrica

PHPNWUK

SymfonyLiveNYC

PHPForumParis

PHPARG

PHPWorld

TechMeetupUY

SymfonyConMadrid

How to fix “Kernel pid terminated” when starting Rabbitmq

Today we installed RabbitMQ in a brand new server running Scientific Linux (SL) 6.2. SL is a relatively new Linux distribution based on RedHat Enterprise Linux, similar to CentOS, that lately has been gaining a lot of popularity. The RabbitMQ installation on RHEL based servers is quite easy and well documented. So it was a surprise when RabbitMQ […]

April 25 / 2012
Author Pablo
Category Tutorials
Comments No Comments

Upcoming Conferences

WeCamp

PHP New Zealand

PHP Summer Camp Croatia

PHPNE

MadisonPHP

brnoPHP

SymfonyLiveLondon

ZgPHP

PHPSouthAfrica

PHPNWUK

SymfonyLiveNYC

PHPForumParis

PHPARG

PHPWorld

TechMeetupUY

SymfonyConMadrid