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.

I understand cherry.py server is multithreaded which theoretically would be a problem with php fastcgi in general. But would it be possible? has anyone tried it and can please share the idea/experience. Honestly I don't know where to start at all on configuring cherry.py for such a setup.

would the php-fpm be more reasonable solution to this?

I am thinking that it may be possible similar to nginx to send request to php-fpm from cherry.py with proper config.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

CherryPy is built and designed for one specific purpose: serving dynamic content written in python.

While you could conceivably send an http request to a separate FastCGI process via python's urllib, then feed that string data back as a response to the request that came in to Cherry... there's really no reason to do that, and no circumstance where it becomes a good idea.

share|improve this answer
    
I think you are right. I would have to setup the php pages on another server and direct requests to it somehow possibly using another server to map separate url pattern to cherrypy or php as the case maybe. thanks again for your insight –  Vangel May 24 '11 at 3: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.