kermit Posted May 8, 2005 Report Share Posted May 8, 2005 a 'quick and dirty' php version switcher for uniform server 3.2 and the php4 'plugin' for it, as downloaded 7 may 05. a friend needed an easy to install wamp installation with php4, so i made a little bat to switch php versions. it acts like a toggle and does check to make sure everything's where it's expected to be before it runs. the attached zip contains all the new files and modified httpd.conf. it maintains directory structure from uniform server's root (the parent directory of diskw), so be careful not to overwrite your httpd.conf if you've changed it yourself...... tested and works for me on winxp pro sp2.. however, as always, ymmv. basically you make a one line change to httpd.conf. it's line 288 for an unmodified file. (or use the included one if you've not made any changes to it). three new files get put into apache's conf directory. make sure loadphp.conf loads the correct version that you have in /usr/local/php. the other version of php needs to be named 'php4' or 'php5' (as appropriate). the batch goes in the parent directory of diskw. with uniform server shut down, just run the switchphp.bat file to switch which php version gets loaded. switchphp.zip Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.