Choose a minimum PHP version

Ok, you are about to code a great new application in PHP, that will be downloaded millions of times and be installed on shared servers all over the world. Being the cutting edge developer you are, you will use all the latest PHP features like closures and namespaces. What is stopping you from world domination?

Continue reading

Switching between PHP versions with Apache on Windows

I had occasion to set up a dev box to test a new web application against different php versions, so I thought I would share the steps. This setup is for one PHP version at a time, and I have documented for 2 versions, but more can be done if required. Also I have used PHP4 and 5, but it could be multiple versions of PHP5, such as a beta version of 5.3. This setup was done using Apache2 on Windows.

Continue reading