raptor Posted June 14, 2008 Report Share Posted June 14, 2008 I want to use both php4 and php5 on my Uniform Server. How can i configue US so I can use both versions?I want to use the extenstions *.php and *.php5 for my respective scripts. Quote Link to comment Share on other sites More sharing options...
Ric Posted June 14, 2008 Report Share Posted June 14, 2008 I think its possible however you cannot run both, as modules one of them must be installed as cgi. I would go for php4 as cgi. You will need to add a, AddHandler and Action php-script to separate out the cgi stuff. I know it’s a little bit vague that’s because I have never tried it, perhaps some other members on the forum have done this? All the bestRic Quote Link to comment Share on other sites More sharing options...
Ric Posted June 15, 2008 Report Share Posted June 15, 2008 Scrub the above because it is a totally illogical thing to do. Running CGI and modules are not comparing like for like. Added to this will be your target version ideally you should be testing with the same versions of software. MySQL server is also a significant player this must also match the target. Basically what I am saying my first thoughts are a load of tosh mixing cgi and modules certainly would be the wrong approach. A more consistent approach would be to set-up two servers that match your testing requirements. This way would avoid/reduce the number of hidden inconsistencies that will come back to haunt you. Admittedly a little more work in the short term while testing however will save a lot of grief long term. All the bestRic Quote Link to comment Share on other sites More sharing options...
raptor Posted June 16, 2008 Author Report Share Posted June 16, 2008 Scrub the above because it is a totally illogical thing to do. Running CGI and modules are not comparing like for like. Added to this will be your target version ideally you should be testing with the same versions of software. MySQL server is also a significant player this must also match the target. Basically what I am saying my first thoughts are a load of tosh mixing cgi and modules certainly would be the wrong approach. A more consistent approach would be to set-up two servers that match your testing requirements. This way would avoid/reduce the number of hidden inconsistencies that will come back to haunt you. Admittedly a little more work in the short term while testing however will save a lot of grief long term. All the bestRic Ric, Thanks for you prompt response. Can I run 2 copies of UniformServer, one on port 80 and one on port 8080? drl Quote Link to comment Share on other sites More sharing options...
Ric Posted June 16, 2008 Report Share Posted June 16, 2008 Can I run 2 copies of UniformServer, one on port 80 and one on port 8080? Uniform Server is very flexible that’s not a problem you will find details on the following page: http://center.uniformserver.com/multi_servers/multi.html All the bestRic Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.