This blogpost will be all about creating a good environment for developing PHP applications on my Linux laptop.
At the moment I have all my projects in one folder and all running on localhost. Now I am wondering if I should create a better environment for my projects so that it is closer to production as possible.
So I came over two websites (http://www.debian-administration.org/articles/412 and http://thinkingnectar.com/2008/getting-ubuntu-to-work-creating-subdomain-in-localhost/) and now I hope that I have something that I can use for developing my projects.
Other tweaks that I do to my system is to keep my mysql-data under home. This because when I upgrade Ubuntu I don’t have to remember where all the data is spread out.
In order to make this work you have to change the datadir in the my.cnf file under /etc/mysql
After you’ve done that change, you have to restart your computer (Yup, you really do have to… I don’t know why)
For developing PHP, and Perl I use Komodo which I find is a very nice IDE / Editor. I also keep the files under subversion. Now – Komodo does not support subversion all that well, so I hope to see some improvements in that direction in upcoming versions.
Komodo is one of two programs I have bought for my Linux PC. The other one was for the Nero burning software. This because back in Gutsy-days the burning software that came with Ubuntu wasn’t really all that great. Nero was.
If you have suggestions on setting up a development environment under Linux, please do use the comment fields below.

