Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

now we have lsws ent. working on Red Hat 5.5. I am trying to change it with nginx. problem is that there are different versions of php on system installed. how to force nginx to use the one which is used by lsws?

share|improve this question

you likely cant use the version of php used by lsws because it is compiled with the lsws isapi so wont connect to nginx via normal channels unless it has been compiled with fpm or fastcgi support

its probably safer to make sure the system version of php has that and use that so your not tied into keeping lsws if you make a full switch to nginx

share|improve this answer
thank you, anthonysomerset! problem is that system php installation missing some extensions, I'll try to add them, it shouldn't interfere with lsws php, right? – mobilite Mar 11 '11 at 8:25
no because lsws php will be in a different location (and compiled from source anyway) – anthonysomerset Mar 11 '11 at 9:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.