Image may be NSFW.
Clik here to view.
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.
Image may be NSFW.
Clik here to view.
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.
Check more discussion of this question.