Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

phpPatterns:
Switching PHP versions on Windows with Python
Aug 05, 2005 @ 18:12:58

After a very long hiatus from posting over on his site (phpPatterns.com), Harry Feucks has this new item today - a look at "switching PHP versions on Windows with Python".

Finally got irritated enough to hack together something to help switch PHP versions quickly and easily on Windows. May be something useful to others (or not).

The Python script (below) basically works by copying all required configurations files / dlls etc. from "source" directories you set up into the correct location under Windows or Apache. It finishes by restarting Apache for you. The strategy is one PHP version at a time, not multiple versions in parallel (which I've found too painful in practice).

It's kind of a neat little script, and he gives you all the details that you need to set up the script to work...

tagged:

Link:


Trending Topics: