Is it possible to abandon php-fpm if you use swoft?

to develop a new set of shopping malls, I want to use swoft in the project, but I don"t have any relevant experience. I wonder if it is possible to abandon php-fpm completely?

nginx is only used to reverse proxy or process static files!

for those of us who are used to Yii2, do you have any suggestions when using swoft?

are there any holes that need to be paid attention to?

Apr.25,2022

swoft is very java, many concepts and designs are borrowed from spring, and php does not have the syntax sugar of decorator, so it can only be realized through reflection and annotation, and the support at the language level is not very good.
performance is definitely better than php-fpm in theory. After all, resident memory saves the steps of initializing and cleaning up PHP modules.
personally, I will study and study it, but if it is used for the core project, I still need to have a full grasp of this framework, and I can change it when something goes wrong. The project you play with can be used, but it is not recommended to use it on the company's project until you have completely eaten it out.


personal feeling, comments are not the right way, all kinds of troubles

Menu