Jump to content
The Uniform Server Community

Running BOTH php4 & php5


raptor
 Share

Recommended Posts

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 best

Ric :)

Link to comment
Share on other sites

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 best

Ric :)

Link to comment
Share on other sites

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 best

Ric :)

 

 

Ric,

 

Thanks for you prompt response. Can I run 2 copies of UniformServer, one on port 80 and one on port 8080?

 

drl

Link to comment
Share on other sites

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 best

Ric :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...