Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.