Adding a directory alias in Nginx

A lot of people fear having to install Nginx because it includes none of the hand-holding defaults that we have been accustomed with Apache. As such, setting a directory alias and allowing it to serve PHP from it is not a straightforward matter. After searching far and wide for the solution, and after losing a lot of hair reading Nginx's comprehensive but somewhat cryptic documentation, I was able to figure out how to do it. So here it goes!

Using PhpStorm with a project on a remote server

PhpStorm Deployment Settings

At my last job we used Linux in all of our desktop machines to do our development, and there was a nice feature that Nautilus, GNOME's default file manager, has that actually almost all Linux desktop file managers have: the ability to connect to a directory in a remote server. This was always handy because all we had to do for our PHP development was have a connection open on the project directory and work directly on the files on our development servers.

Getting IIS Express to work with Symfony2 and Silex

Lately I've been working a lot in Windows as my development environment. As usual, my IDE of choice is still PhpStorm from JetBrains, but lately I've been playing a lot with Microsoft WebMatrix as an HTML5/JavaScript IDE, so I decided to see what it could provide for PHP; I wanted to especifically find out if I could get IIS Express to play nice with Symfony2 or Silex. And after some research I found out that it was easier than I expected, in fact I am amazed at how easy it is to configure a PHP site in WebMatrix and get it to run a framework with IIS Express.

Subscribe to Eder's Cubicle RSS