swoole setGlobal method cannot be found and swoole + phalcon integration problem

WBOY
Release: 2016-08-25 10:37:21
Original
1061 people have browsed it

swoole version 1.8.10 php version 7.0.10 phalcon 3.0

The first question is, when using swoole http server, swoole_http_server->setGlobal reports that the method cannot be found. How to solve it?

The second question is about the integration of swoole + phalcon. What I am currently thinking is, is it enough to just assign the value in $request to several global variables such as $_GET? If there is anything else that needs to be dealt with, please give some advice from experienced students. If the setGlobal method in question 1 is not used, how should it be integrated?

I would also like to ask, is it better to use swoole+phalcon or swoole framework?

Reply content:

swoole version 1.8.10 php version 7.0.10 phalcon 3.0

The first question is, when using swoole http server, swoole_http_server->setGlobal reports that the method cannot be found. How to solve it?

The second question is about the integration of swoole + phalcon. What I am currently thinking is, is it enough to just assign the value in $request to several global variables such as $_GET? If there is anything else that needs to be dealt with, please give some advice from experienced students. If the setGlobal method in question 1 is not used, how should it be integrated?

I would also like to ask, is it better to use swoole+phalcon or swoole framework?

This is purely a matter of personal preference

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!