RSS
 

Compiling PHP 5.3.3, with nginx on ubuntu 10.4 for drupal 7

25 Jul

Introduction

Since i made the plan to change from a rather expensive dedicated server to a much cheaper VPS solution, i started thinking about moving away from the sluggish apache2 stack. Fed by the fact that the PHP developers surprised me by suddenly announcing that the support for the php 5.2.x is going into security fixes when needed mode, i decided i might as well go all the way then. Moving to PHP 5.3.3 running a much leaner and faster NGINX HTTP server under Ubuntu 10.4 LTS using the new PHP-FPM instead of fastcgi Read the rest of this entry »

 
No Comments

Posted in ubuntu

 

Fixing the documentroot with vhost_alias

15 Jul

A small solution in follow up of the document root issue drm brought up in a previous post. Setting the correct $_SERVER["document_root"] value for your vhost_alias site.

Read the rest of this entry »

 
No Comments

Posted in OSX

 

Running a local wildcard DNS server on your mac

12 Jun

Ever since I’am using my macbook pro with XAMPP as my primary development workhorse, i’ve been playing around with the hosts file every single time I started a new project. Until last week, where i suddenly realized that it was a rather stupid practice. After all i’am running a system that comes preinstalled with named. Yeah i know, a bit late… But still, sat down for a few minutes to (re-)read about zone files and how to get an wildcard DNS server up and running.

The goal was to have *.dev.local pointing to 127.0.0.1 so i only needed to add/alter my apache vhosts.conf to fit my project needs.

Read the rest of this entry »

 
6 Comments

Posted in OSX